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
Lemur OSC message size limit?
Re: Lemur OSC message size limit?
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/
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/
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: Lemur OSC message size limit?
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
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
Re: Lemur OSC message size limit?
Anyone have any thoughts? Is this a bug/limitation in Lemur?