rsc3/doc/examples/ugen/envelopes/x-line.help.scm

15 lines
534 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (x-line rate start end dur doneAction)
;; Exponential line generator. Generates an exponential curve from
;; the start value to the end value. Both the start and end values
;; must be non-zero and have the same sign.
;; start - starting value
;; end - ending value
;; dur - duration in seconds
;; doneAction - a doneAction to be evaluated when the x-line is
;; completed. See env-gen for details.
(let ((f (x-line kr 200 17000 10 remove-synth)))
(audition (out 0 (mul (sin-osc ar f 0) 0.1))))