so I’m just taking my first steps in gen~ and I got stuck on a problem. I have built a low-pass filter and a threshold so far. I want to make them both work together now and I’m not sure, if that is even possible in gen~ (I would really like to try having as little as possible going on outside the gen~ patcher).
So what I want to do, is to start a filter automation every time a certain threshold is passed.
Lets say I want to make a filter sweep from 100Hz to 1000Hz as soon as the “>=“ gives out a 1 because the threshold got passed, how would I accomplish that?
My first idea was to use a phasor and just scale 0. 1. 100. 1000.
but of course there is no way to trigger this phasor movement just once, instead it’s running all the time… is there a way to accomplish this without leaving the gen~ patcher?