Forums > MaxMSP

How Use OSC in MSP

Apr 25 2012 | 11:00 am

I want build something like reactable, no ich receive via UDP OSC Information and get some information but how i can get x and y Values?

have someone experience with that? Can someone give me Tipps, ideas maybe a patch which translate OSC information in x y Valeues and maybe other information?

i uploaded here my max patch, have someone any idea?

Thanks to all

Apr 25 2012 | 12:06 pm

what message you get containing the x y values?

if its something like "/1/nn/dd 34 67"
use the route object to get the two coords

‘route /1/nn/dd’

the first outlet will give ’34 67′
then with an unpack you can split the two

or if the format separate for the x and y
‘/1/nn/dx 34’ and ‘/1/nn/dy 67’


‘route /1/nn/dx /1/nn/dy’

it wil give the x in first outlet and y in second

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

Forums > MaxMSP