adsr – amplitude envelope (Attack/Decay/Sustain/Release) generator

Usage: [var_name] adsr [input] [attack] [decay] [sustain] [release]

Parameter Data Type Description
input cstring The variable name of a Rtse object.
attack float Envelope attack time in seconds.
decay float Envelope decay time in seconds.
sustain float Envelope sustain amplitude in the range 0 <= sustain <= 1.0.
release float Envelope release time in seconds.