rsc3/doc/examples/ugen/envelopes/free-self.help.scm

9 lines
215 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (free-self src)
;; free enclosing synth when the input signal `src' crosses from
;; non-positive to positive.
(audition
(mrg2 (free-self (mouse-x kr -1 1 0 0.1))
(out 0 (mul (sin-osc ar 440 0) 0.1))))