GMU:Max/MSP visual programming/Yang Li: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 1: Line 1:
'''Task 4'''  "Using cables to control objects in Max"
'''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.
<br>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.
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.
*[[:File:Arduino signal sphere 6cables.maxpat]]
*[[:File:Arduino signal sphere 6cables.maxpat]]
Line 7: Line 7:
*[[:File:tut_02_particles.maxpat]] [https://www.youtube.com/watch?v=TRgX7rVgSAE]
*[[:File:tut_02_particles.maxpat]] [https://www.youtube.com/watch?v=TRgX7rVgSAE]
<br>'''Task 3'''  "OSC"  
<br>'''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.
<br>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.
*[[:File:Network-OSC.maxpat]]
*[[:File:Network-OSC.maxpat]]
<br>'''Task 2'''  "Jitter"
<br>'''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).
<br>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).
*[[:File:Jitter_Graphic_test3.maxpat]] (miga edit)
*[[:File:Jitter_Graphic_test3.maxpat]] (miga edit)
*[[:File:0517 Jitter_Graphic_test2.maxpat]]
*[[:File:0517 Jitter_Graphic_test2.maxpat]]
'''Task1'''  "dimmer"
'''Task1'''  "dimmer"
If you drag the slider in patcher, you will find the LED which inserts in PWM pin change brightness.
<br>If you drag the slider in patcher, you will find the LED which inserts in PWM pin change brightness.
*[[:File:dimmer LY.maxpat]]
*[[:File:dimmer LY.maxpat]]
*[[:File:Homework.maxpat]]
*[[:File:Homework.maxpat]]

Revision as of 12:33, 13 August 2018

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.