drobilla / ingen

A realtime modular synthesizer and/or effects processor
GNU Affero General Public License v3.0
30 stars 7 forks source link

Ingen executes action on next message after getting message at a high rate #37

Open loki42 opened 3 months ago

loki42 commented 3 months ago

I've got a script to reproduce this but it requires a specific Ingen patch etc. Basically, I play a sound through Ingen and record the level of the output after I mute and unmute it.

The flow of the script it: I set a bunch of parameters, set them back to what they were. Sleeping between each parameter "delay" amount. mute by setting VCA level, check output level by recording through jack. unmute by setting VCA level and check level if mute level is to loud, or unmute level is to quiet, print error.

If I run my script, I get no errors with longer delay times but when I start reducing it, I start to get errors. The behaviour when the error has been triggered is that actions are executed when the next message is received. For example, a disconnect won't happen straight away but will happen when the next set value is sent.