Parsing OSC messages - simple tutorial?
I'm having the hardest time parsing what looks to be a very simple set of OSC messages, and I don't know why. Can anyone point me to a REALLY simple tutorial/reference for how to parse the URL style messages so that I can output the numbers etc that are contained within them? I can see the messages perfectly in Max window, nothing I do seems to allow me to output them. I think this is because of something I am doing wrong with the /. Say I were to want the following message to be output in a max patch: /banana /fruit /0 0.445 - what arguments would I need to use to output everything separately INCLUDING the integer and the floating point at the end?
This might be helpful.Example 24: TouchOSC data via wireless UDP.
If you use [OSC-route] from CNMAT, it behaves pretty much the same as the [route] object. There is a tutorial in the 'everything' package to get you started - pretty much a piece of cake. Hope this helps.
or:
For my purposes, the clarity and readability of using somethng like [OSC-route] is preferable - it displays the arguments used to route things, making it easier to remember and program efficiently. Your mileage may vary... ;)