Troubleshooting

Lemur OSC message size limit?

Started by dBlicious on .

Sign in or create an account to join the conversation.

4 posts

Topic starter
I have a script that iterates (for loop) through 64 MultiSlider.x values and sends a unique OSC message for each. Everything appears to be working correctly on the script side. However, Lemur only sends the first 36 messages (or 44 if I shorten the message). It doesn't matter which step I start the loop on, it will only send 36 messages (or less if it reaches the end first). I've checked on 3 different OSC monitor apps, and all 3 produce the exact same result.

I'm guessing that Lemur doesn't send each message individually each time the loop iterates, but waits for the for loop (or the script) to end, then sends all the OSC messages at once. There's some kind of buffer/packet/container that's not large enough to hold all that data, so it's getting truncated before it is sent. If that's not the issue, I have no idea what else it could be.

Anyone have any ideas how to get around this?

Thanks,
A
Hi Macciza,

I'm not really having trouble with the scripting, it's that Lemur isn't outputting all the OSC messages that it should. Here's the abridged project file. It's supposed to be dumping all the slider x values, one at a time, when you push the button. I have to do this since Silent Way doesn't accept OSC arrays. Try changing i in the for loop in MultiSlider.sendOscAll() and you'll see that it will send the correct OSC messages, but only 36 max. If you shorten the length of the OSC message, it will send more messages. That's what makes me think I've hit some limitation in Lemur. Any ideas what's going on?

Thanks,
A


MultiSliderOSC.jzml