Hi guys, I'm trying to hack together a simple 2 step Envelope Generator (AD) from the 7-step envelope generator example patch. I'm trying to make it react exactly like the ADSR~ object with Sustain and Release set to 0.
Unfortunately I can't seem to make the envelope retrigger without first sending a zero value.
Also I can't seem to make it retrigger until the envelope has finished.
Is there a way to do this simply? Possibly more simply than the 7-stage envelope generator method, I feel it's maybe overkill for a 2 step envelope.
Anyway, here's what I have so far.