|
|
Thread Tools | Display Modes |
12-29-2020, 03:46 PM | #1 |
Human being with feelings
Join Date: Dec 2020
Posts: 2
|
"connection" problems running OSCII Bot and Obsidian Control Systhems Onyx
Hey guys, this is prob a little bit unusual.
I've set oscii-bot up to translate the incoming midi signal into osc so I can use my Behringer x-touch mini to control Onyx (lighting software). Because Onyx doesn't allow the 127.0.0.1 port I am using the Microsoft loopback adapter with an address of 4.0.0.1. For the most part, everything works fine but sometimes there is a weird lag or a connection problem. For around 30 secs no commands are received (but oscii bot sends them) and after that, every command made during those 30 secs are executed at once. It's like they are in some sort of buffer. I've already verified that this is a problem with oscii bot. When I use a different translation software this problem doesn't exist. this is my code: https://pastebin.com/QenjWwLR if anyone has some ideas that would be great |
01-03-2021, 06:24 AM | #2 |
Human being with feelings
Join Date: Dec 2020
Posts: 2
|
no one any ideas?
Because I don't have any |
01-07-2021, 03:19 AM | #3 |
Human being with feelings
Join Date: Feb 2016
Posts: 189
|
The code example has some tight while loops with what looks like repeated oscsend() in them. Depending on the rate and number of outputs, these might not behave well against the way @midimsg and @oscmsg blocks get scheduled by OSCII-bot's single thread of execution.
Suggestion would be to write a debugging version that throttles or gradually increases or deliberately overloads under controlled conditions : the observed buffering behaviour may then become more evident, reproducable or understood. The advice in this OSCII-bot thread may be helpful too https://forum.cockos.com/showthread.php?t=210270 |
Thread Tools | |
Display Modes | |
|
|