NEW MODULE
ENV
"ahdsr"
2 voice Attack/hold/decay/sustain/release envelope, linear attack, exponential decay and release.
The main out gives the highest envelope (max of 1/2), this is how it would be if just a single envelope was used (monophonic). Use this, for example, for a filter or if you're using only a single oscillator.
Envelope 1 and 2 are used together with 2 oscillators and vca's to produce a dual-voice. With every new gate, the next envelope goes into attack stage and the other is forced into release state, fading out the voice (less clicks).
Has trigger outputs to show which envelope is retriggered, which can be used to latch the pitch of the new voice to the right oscillator (factory/logic/latch).
And I've also just added extra outputs for new-stage-triggers&stage-number per voice and main/mono.
These can be used to trigger extra envelopes at certain stages. Eg. the factory AD-envelope is nice for this together with the "stageTrig" module.
"stageTrig"
a module to be used with the ahdsr2v module. It only lets the "new stage" trigger through when the stage matches the stage set by the stage-selector. (this selector only goes from 0 to 3, but if you embed the module, you can enter any range you want for your own use)