554
edits
EmilioAguas (talk | contribs) |
EmilioAguas (talk | contribs) |
||
Line 39: | Line 39: | ||
[[File:04.Max_Sound_Patch.png |thumb| left| 685px | OSC patch receiver sender and sound output]] | [[File:04.Max_Sound_Patch.png |thumb| left| 685px | OSC patch receiver sender and sound output]] | ||
<br> ''Max/Msp sound patch'' <br> | |||
- In this patch at the top you have the receiver object with the port 8000, then the route from the acceleration "/accxyz". | |||
- then with unpack object the values are split in three and all of them are float values between -1.0 and 1.0, for these values to be useful we are going to scale it now from 0 till 127 so the data now are integers, we use the sliders as a visual aid to see the behaviour of the acc values. | |||
- after those values goes to the make note object that creates a midi tone with a velocity to transmit the values as sound we create a note out object and also to visualize this in a musical scale we use an n-slider object. | |||
-Finally the pack object is use to create an array of integers and send it to the second laptop with the udpsend object. |
edits