Audio.Envelope¶
| Name | Mandatory | Description | Default | Type |
|---|---|---|---|---|
⬅️ Input |
Gate signal where > 0 is gate on, <= 0 is gate off. | Audio |
||
Output ➡️ |
Envelope values from 0.0 to 1.0. | Audio |
||
Attack |
No | Attack time in seconds (0.001 to 10.0). | 0.01 |
FloatVar(Float) |
Decay |
No | Decay time in seconds (0.001 to 10.0). | 0.1 |
FloatVar(Float) |
Sustain |
No | Sustain level (0.0 to 1.0). | 0.7 |
FloatVar(Float) |
Release |
No | Release time in seconds (0.001 to 10.0). | 0.3 |
FloatVar(Float) |
Curve |
No | Envelope curve type (Linear or Exponential). | EnvelopeCurve::Exponential |
EnvelopeCurve |
Retrigger |
No | If true, retrigger envelope on gate even during Decay/Sustain stages. If false (default), only retrigger from Idle/Release (legato behavior). | false |
BoolVar(Bool) |
ADSR envelope generator. Takes a gate signal (audio or trigger) as input, where values > 0 indicate gate on and values <= 0 indicate gate off. Outputs an envelope signal from 0.0 to 1.0 that can be multiplied with an oscillator for amplitude modulation (VCA).