How Use OSC in MSP

Apr 25, 2012 at 11:00am

How Use OSC in MSP

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

#63207
Apr 25, 2012 at 12:06pm

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′

use

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

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

#228016

You must be logged in to reply to this topic.