← All operators

ADSR

Control · modulator

Modulator: a note-gated attack/decay/sustain/release envelope that drives any param through a control wire.

audiocontrolmodulationenvelope

Parameters

NameTypeRangeDefaultDescription
attackfloat0.001 - 30.01attack time in seconds (rise on note-on)
decayfloat0.001 - 30.15decay time in seconds (fall to the sustain level)
sustainfloat0 - 10.7sustain level 0..1 held while a note is down
releasefloat0.001 - 50.3release time in seconds (fall to 0 after the last note-off)

Ports

PortDirectionDescription
outputout