opensoundcontrol
hello
Im wondering about osc,i can't seem to find an opensoundcontrol object? i'm on a pc with msp5? I have a few osc messages coming into my msp patch..( i know they are coming in because they make a button flash on and off very fast.( and osc monitor tells me what they are too.)
i hope to select one of these messages from the stream and convert it into another message,like this....
orignal stream:
......................data.data
/notwanted/msg 0 1
/notwanted/msg 0 1
/notwanted/msg 0 1
/target/msg 2 1
/notwanted/msg 0 1
/notwanted/msg 0 1
/notwanted/msg 0 1
/notwanted/msg 0 1
all the 'notwanted' messages are filtered out and the 'target' message is selected ,put through a conversion, and turned into another message.>
......................data.data
/target/msg 2 1
is converted and becomes >
......................data.data
/converted/msg 1 1
I can send osc messages happily ( and trigger them by a button:) but no way to convert them into midi ,other osc messages or give them timetags?
thanks for any pointers toward interesting objects that might help.
The [opensoundcontrol] object is an external one which you can download in the CNMAT package from the link below. It also contains [OSC-route] which will be useful too. How are you getting OSC messages into max without it?
Once you have your incoming messages being routed properly you could use [trigger] or [sprintf] or [coll] to format your outgoing midi or OSC messages.
lh
wow thanks i knew i was missing somthing.
i create and send via
pack object for the data
prepend object to name the address
and i send from from one msp to another
via udpsend and udpreceive.
not worked out time stamping yet ,but i shall try out this package you suggest, sounds great.
many thanks lh. :)
Hi
You should be able to use udpsend/recieve for osc as well - check the helpfiles.
Then use route etc to match your details and reform the message
what do you mean by 'osc monitor tells me . . '?
Cheers
Macciza
hi thanks yep, i use udp send/receive within msp.
oscmonitor is a little windows application that monitors osc messages.
:)
you can find it here.
No worries - I'm on Mac . . .
But I seem to recall that Jamoma has a prebuilt osc translater - You should have a look at that perhaps .
You might also check out Digital Orchestra Toolbox and/or Mapping Tools - one or both have something suitable . . .
Macciza