Go Back   Cockos Incorporated Forums > Other Software Discussion > OSCII-bot forum

Reply
 
Thread Tools Display Modes
Old 12-29-2020, 03:46 PM   #1
daarq
Human being with feelings
 
Join Date: Dec 2020
Posts: 2
Question "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
daarq is offline   Reply With Quote
Old 01-03-2021, 06:24 AM   #2
daarq
Human being with feelings
 
Join Date: Dec 2020
Posts: 2
Default

no one any ideas?
Because I don't have any
daarq is offline   Reply With Quote
Old 01-07-2021, 03:19 AM   #3
goldenarpharazon
Human being with feelings
 
Join Date: Feb 2016
Posts: 163
Default

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
goldenarpharazon is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:46 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.