rsc3/doc/help/ugen/unary-ops/floor.help.scm

9 lines
163 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (u:floor a)
;; Round signal down.
(let* ((x (mouse-x kr 65 95 0 0.1))
(f (midi-cps (u:floor x))))
(audition
(out 0 (mul (sin-osc ar f 0) 0.1))))