169
edits
(Created page with "== INTRODUCTION == In this tutorial we look at how to synchronise Iannix with PureData via Open Sound Control (OSC). '''What is Iannix?''' Iannix is a graphical open source se...") |
No edit summary |
||
Line 43: | Line 43: | ||
== Enable PureData to receive incoming OSC data from Iannix == | == Enable PureData to receive incoming OSC data from Iannix == | ||
Create a new patcher window. <br/> | 1. Create a new patcher window. <br/> | ||
Create a new object in the patcher window by using the shortcut ⌘1. Type '''import mrpeach''' into the object box. **'''mrpeach''' is a library that handles the OSC protocol. <br/> | 2. Create a new object in the patcher window by using the shortcut ⌘1. Type '''import mrpeach''' into the object box. **'''mrpeach''' is a library that handles the OSC protocol. <br/> | ||
3. Create another new object in the patcher window and type into the object box '''udpreceive'''. **'''udpreceive''' is a built in PureData object that receives OSC messages transmitted over a network. <br/> | |||
In the '''udpreceive''' object we define the port number declared in Iannix i.e. '''udpreceive 57120’’’<br/> | 4. In the '''udpreceive''' object we define the port number declared in Iannix i.e. '''udpreceive 57120’’’<br/> | ||
The OSC message has to be unpacked using the '''unpackOSC''' object which is an object box connected to the left outlet of the '''udpreceive''' object. <br/> | 5. The OSC message has to be unpacked using the '''unpackOSC''' object which is an object box connected to the left outlet of the '''udpreceive''' object. <br/> | ||
In order for us to separate and route the array of messages we receive from Iannix we can create another object '''route'''. i.e. '''route /trigger /cursor''' and patch this to the outlet of the '''udpreceive''' object. We use the arguments '''/trigger''' and '''/cursor''' because these are the identifiers named in Iannix for bundling the values sent as demonstrated in the picture below. <br/> | 6. In order for us to separate and route the array of messages we receive from Iannix we can create another object '''route'''. i.e. '''route /trigger /cursor''' and patch this to the outlet of the '''udpreceive''' object. We use the arguments '''/trigger''' and '''/cursor''' because these are the identifiers named in Iannix for bundling the values sent as demonstrated in the picture below. <br/> | ||
[[File:values.png|400px]] | [[File:values.png|400px]] |
edits