Login | Register 
Products Applications Downloads Features Wiki forum Store
 

Construct a OSC Bundle Message

Still a little green? Ask your beginner's questions here

Construct a OSC Bundle Message

Postby keesplattel » Sat Nov 26, 2011 4:23 pm

Hi!

I'm currently setting up my Arduinome which sends OSC/MIDI into TouchDesigner. I need to construct an OSC Bundle message in TouchDesigner to light up the LED's according to a certain pattern... I understand how to build up strings with DAT's and send them out using the OSC Out CHOP. But how do you construct a bundle of messages? The WIKI wasn't much help, they sended me to the OSC homepage which in turn, did not give me any hints on how to construct a bundle in OSC.

this
http://osw.sourceforge.net/html/OSCBundle.html

and this:
http://opensoundcontrol.org/implementat ... rol-maxmsp
(Note this is MaxMSP, but the syntax has to be the same right?)

Also, this wasn't much help:
viewtopic.php?f=4&t=2347&p=8119&hilit=osc+bundle#p8119
(TouchDesigner makes underscores from spaces in strings, therefor the syntax for OSC is not correct ? )


Didn't help me any further?
keesplattel
 
Posts: 6
Joined: Tue Mar 02, 2010 1:58 pm

Re: Construct a OSC Bundle Message

Postby keesplattel » Sat Mar 17, 2012 11:08 am

Does anyone has a tip? Would be really nice if I could use my Monome together with TouchDesigner...
keesplattel
 
Posts: 6
Joined: Tue Mar 02, 2010 1:58 pm

Re: Construct a OSC Bundle Message

Postby rob » Sun Mar 25, 2012 7:39 am

Hello.
When you send a message using the OSC DAT and send osc command, it will format it as one message by default.
When you send numerical values through the OSC CHOP it will send a slice of channels as a bundle of messages.
If neither of these formats are compatible with your specific device sounds like you may have to build up the raw message bytes directly and send it using the send command again.

This link describes the OSC bundle format:

http://opensoundcontrol.org/spec-1_0

Do you have an example of the ardruino sketch?

Cheers
Rob
User avatar
rob
Staff
 
Posts: 363
Joined: Tue Nov 13, 2007 12:14 am

Re: Construct a OSC Bundle Message

Postby keesplattel » Mon Mar 26, 2012 6:15 pm

hmm...

I'd like to keep it as straight forwards as possible by using only 1 program/technology to transfer al the messages. I can easily get them out, but not in again. Maybe programming the OSC chop with the right parameters It might work... I've only used the OSC dat now, So i'll guess If i merge them, I will have more luck..

Thanks a bunch already!
keesplattel
 
Posts: 6
Joined: Tue Mar 02, 2010 1:58 pm


Return to Beginners

Who is online

Users browsing this forum: No registered users and 0 guests