View Single Post
Old 01-07-2021, 03:19 AM   #3
Human being with feelings
Join Date: Feb 2016
Posts: 167

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