GMU:Digital Puppetry Lab/Group Leif/Rachel/Kei: Difference between revisions

From Medien Wiki
Line 37: Line 37:


== Sound Part ==
== Sound Part ==
Max patches for generating noise:
'''Max patche for generating noise'''


The max patch can be downloaded from [here]
https://www.dropbox.com/s/2rxld8rdyada4v2/Noise%20Generator.maxpat?dl=0
[[Image:Noise generator.jpg]]
[[Image:Noise generator.jpg]]

Revision as of 21:04, 6 July 2016

Overview

Setupgraph.png

OSC message generation

We used cooked spaghetti to send Serial messages to processing via Arduino using the analogue pin and a voltage divider circuit with the spaghetti acting as a variable resistor. (More documentation of this here) Processing then sent on these values as OSC messages to Max MSP and Unity.


Shrs1.png Dplrs3.png Dplrs1.png Dplrs2.png


Visual Part

Computer 2 splits the incoming OSC-messages to be read by unity on the same machine and sent to computer 3. This is easily done in MAX:

Maxsplit.png


Unity gets the OSC-messages with a script like this (google might help):


Unityleif1.png


and makes the object move, in this case spin, depending on the OCS signal

Unityleif2.png

Sound Part

Max patche for generating noise

The max patch can be downloaded from [here] https://www.dropbox.com/s/2rxld8rdyada4v2/Noise%20Generator.maxpat?dl=0 Noise generator.jpg