rsc3/doc/examples/ugen/controls/decay.help.scm

14 lines
499 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (decay in decayTime)
;; Exponential decay. This is essentially the same as integrator
;; except that instead of supplying the coefficient directly, it is
;; caculated from a 60 dB decay time. This is the time required for
;; the integrator to lose 99.9 % of its value or -60dB. This is useful
;; for exponential decaying envelopes triggered by impulses.
;; Used as an envelope.
(audition
(out 0 (mul (decay (impulse ar (x-line kr 1 50 20 remove-synth) 0.25) 0.2)
(pink-noise ar))))