Page 1 of 1

Lemur OSC message size limit?

Posted: 28 Jan 2013 21:49
by dBlicious
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

Re: Lemur OSC message size limit?

Posted: 29 Jan 2013 08:22
by Macciza
Hi
Always best to post a relevant portion of your project in order to troubleshoot . . .
Have you cjecked out this project http://liine.net/en/community/user-library/view/152/

Re: Lemur OSC message size limit?

Posted: 30 Jan 2013 05:13
by dBlicious
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
Should send 64 unique OSC messages for MultiSlider.x
(6.86 KiB) Downloaded 65 times

Re: Lemur OSC message size limit?

Posted: 07 Feb 2013 21:34
by dBlicious
Anyone have any thoughts? Is this a bug/limitation in Lemur?