Forums > MaxMSP

Unpacking OSC messages

March 13, 2012 | 9:59 pm

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


Ad.
March 13, 2012 | 10:02 pm

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


March 13, 2012 | 10:10 pm

Thanks for direction!
Many thanks, Ad!


March 13, 2012 | 10:44 pm

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

July 1, 2012 | 1:51 am

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!


July 1, 2012 | 2:08 am

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!


July 4, 2012 | 9:20 am

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


July 7, 2012 | 9:39 pm

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!


Viewing 8 posts - 1 through 8 (of 8 total)