GMU:Max and I, Max and Me/Anna Lena Ruth Wissmueller: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 36: Line 36:
the code i used:  
the code i used:  


[[// global variables
// global variables
int sensor = A1; // declare variable for sensor at analog input pin
int sensor = A1; // declare variable for sensor at analog input pin


Line 53: Line 53:
// print our sensor value to the serial monitor
// print our sensor value to the serial monitor
Serial.println (sensorValue);
Serial.println (sensorValue);
}]]
}

Revision as of 09:25, 5 May 2021

22.4.2021:

getting to know max msp

File:Max MSP.mp4

i tried to run two counters at the same time to create two different melodies playing simultaneously but it didn't work


29.4.2021: sound and video analysis



i followed the tutorials and added the object "print" to both patches


interesting project: https://www.youtube.com/watch?v=6GIP5VDdQ18

(light sensor of an arduino connected to max msp)


6.5.2021


Arduino light sensor

20210505 105113.jpg 20210505 105123.jpg

the code i used:

// global variables int sensor = A1; // declare variable for sensor at analog input pin

void setup() { // put your setup code here, to run once: Serial.begin (9600); // start serial }

void loop() { // put your main code here, to run repeatedly:

// declare variable for sensor value // read our sensor, "put" the reading value into the variable int sensorValue = analogRead (sensor);

// print our sensor value to the serial monitor Serial.println (sensorValue); }