rsc3/doc/help/ugen/oscillators/impulse.help.scm
2022-08-28 12:27:01 +02:00

11 lines
301 B
Scheme

;; impulse
(import (rsc3))
(audition (out 0 (mul (impulse ar 800 0) 0.1)))
(let ((f (x-line kr 800 10 5 remove-synth)))
(audition (out 0 (mul (impulse ar f 0.0) 0.5))))
(let ((f (mouse-y* kr 4 8 0 0.1))
(p (mouse-x* kr 0 1 0 0.1)))
(audition (out 0 (mul (impulse ar f (mce2 0 p)) 0.2))))