169
edits
Line 44: | Line 44: | ||
4. 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/> | 4. 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| | [[File:values.png|400px]] | ||
5. It is then good practice to use the '''print''' object in Max MSP to get an idea of the values being received. In order to do this you should patch the '''print''' object to the '''route''' object outlets that match the arguments '''/trigger''' and '''/cursor'''. This allows us to see how we will manage the incoming data.<br/> | 5. It is then good practice to use the '''print''' object in Max MSP to get an idea of the values being received. In order to do this you should patch the '''print''' object to the '''route''' object outlets that match the arguments '''/trigger''' and '''/cursor'''. This allows us to see how we will manage the incoming data.<br/> | ||
6. Press play in our Iannix example and see what values are coming into Max MSP. <br/> | 6. Press play in our Iannix example and see what values are coming into Max MSP. <br/> | ||
[[File:Maxudp.png| | [[File:Maxudp.png|400px]] | ||
7. The above diagram demonstrates one way in which to handle the incoming values. The '''/trigger''' outlet outputs triggers in the form of integers. The '''/cursor''' outlet outputs a list of floats. You can use the unpack object to manage the list as shown above. | 7. The above diagram demonstrates one way in which to handle the incoming values. The '''/trigger''' outlet outputs triggers in the form of integers. The '''/cursor''' outlet outputs a list of floats. You can use the unpack object to manage the list as shown above. |
edits