GMU:Max/MSP visual programming/Yang Li

From Medien Wiki

Task 4 "Using cables to control objects in Max"
Based on task 2 "Jitter", I want to build a connection between the virtual pattern object and physical equipment that we can have an interaction with the virtual world. Using 6 cables on Arduino to input serials to max, I connect converted inputs from arduino (physical equipment)to max that I can control each axis by 6 cables (Analog0-- Analog5). For instance, when I touch the cable (to change value) which inserts in pin A0, position X of the object will change in certain range, other cables can be inserted in 3.3V, 5V or GND to keep stable voltage that you can see the change obviously.

Furthermore, I use a gyroscope (GY521) on arduino to detect the moving direction, particles in max will follow the direction in 3 axes. Virtual patterns interact with the physical world still have many possibilities.


Task 3 "OSC"
Using SoundcollOSC app to connect with Max. Drag the slider/volume or turn on/off the button on the app, the serials receive by max and vice versa. OSC received from SoundCool app, and outputs to Arduino and Sound.


Task 2 "Jitter"
I build a camera, a window, and three-dimensional objects in this patcher, control the position and rotate in X, Y and Z axis. Objects also can be controlled by using "object: join" to a certain place in a certain time. (Mega helped me to edit the patcher easy to read and understand).


Task1 "dimmer"
If you drag the slider in patcher, you will find the LED which inserts in PWM pin change brightness.