OSC sync optimization

Dear list,

I was wondering what is the best way to assure that a stream of OSC messages will be sent out from TD in full sync? I’m sending discrete streams of messages at 10Hz to another machine via wireless. Is there any way to put them in a bundle so they are sent in tightly synchronized time periods an not “as fast as possible”?

I’m using a oscOut DAT for the job at the moment. A script that picks OSC messages from a table exectues 10 times per second, but most of times the messages that arrive to the other machine are not stable.

Thanks!
Q

Hi Q,

There are couple of options for you to consider. Using CHOPs, you can use a merge CHOP to ensure that you’re sending your messages as a list. On your OSC out, you can toggle off “Cook Every Frame” to ensure that you’re not constantly sending messages. This will default to cook only when your input single changes. If that’s too much traffic on your network, you might use an LFO CHOP to toggle the active flag in your OSC out CHOP to control how often you’re sending messages.

If you’re using DATs, you can write your messages as a list in order to package them, and then OSC out DAT to send.

I’d experiment with CHOPs first - I’ve had good luck talking with Max/MSP by turning off the cook every frame flag, and controlling when messages send.