Line 16: | Line 16: | ||
== Visual Part == | == 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: | 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: | ||
[[File: | [[File:maxsplit.png]] | ||
Unity gets the code with a script like this (google might help): | Unity gets the code with a script like this (google might help): | ||
[[File: | [[File:codeunity.png]] | ||
and makes the object move, in this case spin, depending on the OCS signal | and makes the object move, in this case spin, depending on the OCS signal |
Revision as of 13:11, 16 June 2016
Overview
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.
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:
Unity gets the code with a script like this (google might help):
and makes the object move, in this case spin, depending on the OCS signal
Sound Part
Max patches for generating noise: