Yofiel ADSR Envelope in Gen~

An extension to the 7-segment GEN envelope example providing retrigger and consistent exponential shaping of each segment slope across different duration values. The implementation also provides pitch and velocity scaling of ADSR duration, and support for fast notes (gate-on events in the same sample cycle as the gate-off events, as well as gate-on events without gate-off events since the previous gate-on event).

For retrigger, the implementation provides a hidden 5-millisecond release stage upon any gate-on event if it is received when the envelop is currently generating a significant output.

Additional parameters provide pitch and velocity scaling of duration, in addition to the velocity curve and scaling as provided in the Max 6.0 examples folder.

On the site page is also a design for what could be an optimal ADSR envelope in gen~, with the same functionality as for the provided example.

razzkazz's icon

Nice work :) Any suggestions on how to incorporate it into a poly~ patch, trying it but having no success.

Thanks

Ernest's icon

It's not as easy as one might hope.

jayrope's icon

Thank you. Very nice explaining article on your website aswell.

Published

Creative Commons License

Author