trigger an adsr~ by moving a dial
Hey Guys!
I would like to trigger an adsr~ by moving a dial, when I turn the dial it is opened but as soon as it is not turned th adsr~ is closed.
How can I patch that?
bang 1 when dial starts sending values, bang 0 when it stops sending values.
use onebang and delay (set to time of inactivity detection)
thanks!!!
could you send an example, I cant figure out the last part (set to time of inactivity detection)?

delay resets if it receives bangs in shorter interval then set time,
and that way produces output bang only if it receives no bang
at input in set time.
Change that 150 ms to value that fits your needs best.
Thanks!!!!!
You rock!!!!