rsc3/doc/help/ugen/envelopes/line.help.scm

14 lines
369 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (line rate start end dur doneAction)
;; Generates a line from the start value to the end value.
;; start - starting value
;; end - ending value
;; dur - duration in seconds
;; Note: The SC3 UGen reorders the mul and add inputs to precede the
;; doneAction input.
(let ((f (line kr 200 17000 5 remove-synth)))
(audition (out 0 (mul (sin-osc ar f 0) 0.1))))