43. adsr

Produces an ADSR envelope, given a gate signal. atk, dec, and rel are all units in seconds.

sus is a scaler unit in range 0-1.

<<ugens-top>>=
(define (adsr gt atk dec sus rel)
  (param gt)
  (param atk)
  (param dec)
  (param sus)
  (param rel)
  (rvl "adsr"))



prev | home | next