hello dear 301ers! a module like this has been frequently requested, as is the feature of having multiple outputs from a single unit. while i get the reasons for the latter, i think i like the simple, universal approach of @odevices up to now: une unit one output.
but since 0.4.XX we are able to tap signals from wherever we like, so if i create a couple of custom controls on a custom unit those can be used as pseudo outputs and signals can be tapped from there.
using the Compare bespoke unit from @Joe’s Accents library i was able to create two gates: end of rise and end of fall.
- Gate: triggers the attack stage on gate hi and switches from sustain to release on gate lo
- A: attack, sets the time it takes for the level to go from minimum to maximum after gate hi
- D: decay, sets the time it takes for the level to go from maximum to sustain level after the attack stage ends
- S: sustain, sets the level that stays constant after the decay stage ends and until gate lo
- R: release, sets the time it takes for the level to go from sustain level to minimum after gate lo
- Eor: this control sends a trigger when the attack stage of the envelope is over
- Eof: this control sends a trigger when the release stage of the envelope is over
type: custom source
tips: insert this unit where needed as you’d do with a normal ADSR. if you need to trigger other events with the EOR or EOF just navigate your patch to the unit you want to trigger (example: a varispeed sample player), reach for the control you want to trigger (example: the gate input of the varispeed), click on it to enter its subchain, click on the empty header, on the small screen select “locals” and navigate to the instance of FuncGen, look for the Eor or Eof parameter and select it. if your target is not a gate, after having it assigned you will set the gain of the target parameter to a value other than zero. have fun!
download: FuncGen.unit (14.0 KB)