rsc3/doc/examples/ugen/unary-ops/frac.help.scm

10 lines
189 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (frac a)
;; Fractional part.
(let* ((a (line ar -2 2 3 remove-synth))
(b (frac a))
(f (mul-add (mce2 a b) 600 900)))
(audition
(out 0 (mul (sin-osc ar f 0) 0.1))))