GMU:Tutorials/Networking/Controlling PureData with IanniX: Difference between revisions

From Medien Wiki
Line 48: Line 48:
4. 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/>
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/>
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/>
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 '''unpackOSC''' 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 '''routeOSC'''. i.e. '''routeOSC /trigger /cursor''' and patch this to the outlet of the '''unpackOSC''' 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]]