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

From Medien Wiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
*Task 4 ""
'''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. Using the cables on Arduino to input series serials to max that I can control each axis by 6 cables (Analog0-- Analog5). For instance, when I touch the cable which inserts in 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. Furthermore, I use a gyroscope (GY521) on arduino to detect the direction that can control the position of  the object in 3 axes.
<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.
<br>[[:File:Arduino signal sphere 6cables.maxpat]]
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.
<br>[[:File:AnalogReadSerial.ino]]
*[[:File:Arduino signal sphere 6cables.maxpat]]
*Task 3 "OSC"  
*[[:File:AnalogReadSerial.ino]]
[[:File:Network-OSC.maxpat]]
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 2 "Jitter"
*[[:File:tut_02_particles.maxpat]] [https://www.youtube.com/watch?v=TRgX7rVgSAE]
I build camera, window, and objects models in this patch, control the position and rotate in X, Y and Z axis. The objects also can be controlled by using "join" to a certain place in a certain time.
<br>'''Task 3'''  "OSC"  
<br>[[:File:Jitter_Graphic_test3.maxpat]] (miga edit)
<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.
<br>[[:File:0517 Jitter_Graphic_test2.maxpat]]
*[[:File:Network-OSC.maxpat]]
*Task 1: "dimmer and frequency"
<br>'''Task 2'''  "Jitter"
[[:File:Homework.maxpat]]
<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:0517 Jitter_Graphic_test2.maxpat]]
<br>'''Task1'''  "dimmer"
<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:Homework.maxpat]]
<br><br>
*[[:File:you-4020.pdf]]

Latest revision as of 04:25, 28 October 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.