Still in newbie mode here... trying to figure out how to set up some dynamic switching between different types of audio processing.
When the audio input meets some condition/test, I have it toggle a particular processing effect on/off.
One problem I'm trying to solve right now, though, is that I'd like to set some kind of lock period on the toggle, so that after it has been toggled once, it can't be toggled again for a duration on the scale of seconds. The point to this is because a signal will often oscillate back and forth between test conditions on shorter timescales than this, but I want the switching to be less sensitive and wait for well-separated triggering events.
It seems like there is likely some way to set up this logic with existing objects, but I"m a little bit at a loss for exactly how. Any tips?