Forums > Gen

Bug in 7-segment envelope patch

January 10, 2012 | 9:39 pm

The 7-segment envelope patch doesn’t sustain infinitely. The duration for the sustain segment needs to be negative, otherwise it’ll execute the entire envelope when you turn on the toggle, then execute the release segments again when you switch it off.

Here’s a fixed example. I also added the ability to scale the amplitude of the envelope by the trigger value (like adsr~ does).

– Pasted Max Patch, click to expand. –

February 2, 2012 | 3:55 pm

Peter’s correction and additional features are now part of the standard distribution. Thanks, Peter.


Viewing 2 posts - 1 through 2 (of 2 total)