Lemur intermitently dropping OSC messages
Posted: 30 Apr 2015 03:20
Hi, so I have been working on developing a controller script for integration with Bitwig Studio. The script reads data from Bitwig and sends it out via OSC to Lemur.
I have noticed an issue in Lemur where much of the OSC traffic is actually being ignored by Lemur even though it receives it. I have verified the messages are sent out using Wireshark and contain the right contents, that the OSC packets are being constructed and are valid, and that they should all be reaching my iPad Air 2 which runs Lemur.
Right now the script is setup to only update data as needed, however we added a button which flushes the entire state of Bitwig to Lemur. The problem is we are having to press it multiple times for everything to finally sync up because of all the dropped OSC messages. In theory everything is supposed to stay in sync without ever requiring a full flush of the data after the initial flush because we are only sending the changes automatically. Like I said, I have verified the correct message is being sent out using Wireshark and that its contents are valid.
The Lemur template I am using is perfectly responsive, I also have tried using a bare bones template with only my clip launcher but the issue is still present. We are only sending a few 100 OSC packets or so a sec max.
Any ideas what could be wrong? I have read through the knowledge base some but couldn't find any feasible explanation for what is happening other than I have made some critical scripting error somewhere.
EDIT:
So I was able to cut down OSC traffic to a fraction of what it was and Lemur is behaving better, but still when things get very busy in the DAW Lemur is being overrun by OSC traffic... what can I do to optimize this?
I have noticed an issue in Lemur where much of the OSC traffic is actually being ignored by Lemur even though it receives it. I have verified the messages are sent out using Wireshark and contain the right contents, that the OSC packets are being constructed and are valid, and that they should all be reaching my iPad Air 2 which runs Lemur.
Right now the script is setup to only update data as needed, however we added a button which flushes the entire state of Bitwig to Lemur. The problem is we are having to press it multiple times for everything to finally sync up because of all the dropped OSC messages. In theory everything is supposed to stay in sync without ever requiring a full flush of the data after the initial flush because we are only sending the changes automatically. Like I said, I have verified the correct message is being sent out using Wireshark and that its contents are valid.
The Lemur template I am using is perfectly responsive, I also have tried using a bare bones template with only my clip launcher but the issue is still present. We are only sending a few 100 OSC packets or so a sec max.
Any ideas what could be wrong? I have read through the knowledge base some but couldn't find any feasible explanation for what is happening other than I have made some critical scripting error somewhere.
EDIT:
So I was able to cut down OSC traffic to a fraction of what it was and Lemur is behaving better, but still when things get very busy in the DAW Lemur is being overrun by OSC traffic... what can I do to optimize this?