adsr
  1. time
  2. time
  3. gain
  4. time

ADSR envelope: Combination of Attack, Decay, Sustain, and Release.

note("[c3 bb2 f3 eb3]*2").sound("sawtooth").lpf(600).adsr(".1:.1:.5:.2")
parametertype
time
attack time in seconds
time
decay time in seconds
gain
sustain level (0 to 1)
time
release time in seconds