![]() | ADSR Envelope | The animation output of the node is edited in the shape of an audio attack, decay, sustain, release envelope generator with controls for each phase. |
The ADSR Envelope node creates a single float output value to animate other values. Similar to the Mover and Alternator nodes. The difference to these nodes is, that the value animation is split up in four phases to create more sophisticated animations without a Keyframe Animation. The attack-, decay-, sustain- and release phase. They are analogous to envelope generators in music synthesis.
The Mode property of the Control section switches between the Continous mode, where the animation starts automatically again when finished and the OneShot mode, with the trigger Nudge method for each run. Nudge also restarts the animation in both modes. On the output side, the OnRepeat event fires every time the animation finishes.
The control properties for the phases:
Each phase has an own Time value. It also can be 0 to skip a phase. The Level properties define the output value and therefore also the interpolation values. Negative values are possible.
Changes to to all control properties are applied with the next run!
The interpolation Mode of the phases:
The shapes differ, if the start value is higher than the end value. The reference is always the begin / end of a phase.