Unpacking OSC messages

Mar 13, 2012 at 9:59pm

Unpacking OSC messages

Hello,
I am trying to unpack OSC messages which are picked up from Mind Your OSCs software designed for EPOC EEG headset.

I am using udpreceive object and it receives all messages correctly. I don't know how to unpack incoming values and stream them into separate flonum outputs.

I tried to use unpack object and added 20 float outputs and it gave me error.

I added two images, first one is showing incoming OSC messages and second one is my stupid trial to unpack them.

Any help much appreciated,

Thanks!

[attachment=188212,3540] [attachment=188212,3541]

Attachments:
  1. Capture10.PNG
#62353
Mar 13, 2012 at 10:02pm

route object or OSC-ROUTE from http://cnmat.berkeley.edu/downloads should help you
ad

#225225
Mar 13, 2012 at 10:10pm

Thanks for direction!
Many thanks, Ad!

#225226
Mar 13, 2012 at 10:44pm

OSC-route is exactly what was needed.

I am posting a successful patch for other support seekers.

Cheers, ad.
kavi

[attachment=188220,3542]

Attachments:
  1. Capture11.PNG
#225227
Jul 1, 2012 at 1:51am

Hello there

I’ve followed your image to the letter but it doesn’t work for me. I seem to have an extra number that you don’t in my max window. It looks like this: print: /EXP/SMIRK_RIGHT/0 0.

So there is this extra number ahead of the floating point. How would I add that to my OSC-route in order to make it pass the floating point message? I’m not very familiar with how OSC works. Any help much appreciated!

#225229
Jul 1, 2012 at 2:08am

Hello there

I’ve followed your image to the letter but it doesn’t work for me. I seem to have an extra number (always a 0) that you don’t in my max window. It looks like this: print: /EXP/SMIRK_RIGHT/0 0. This is apparently the ‘user number’.

So there is this extra number ahead of the floating point. How would I add that to my OSC-route in order to make it pass the floating point message? I’m not very familiar with how OSC works. Any help much appreciated!

#225230
Jul 4, 2012 at 9:20am

heya, could you please screencapture your patch together with Max window and see if i can help you.
.))

#225231
Jul 7, 2012 at 9:39pm

Hello there, for some reason I have been unable to install the route object or OSC-ROUTE on max. I already downloaded it but I do not know how to incorporate in max as an object! Can you help me with that please. I need to do exactly what Kevi did! I need some instructions if it is possible! I appreciate it!

#225232

You must be logged in to reply to this topic.