rsc3/doc/examples/ugen/unary-ops/cps-oct.help.scm

8 lines
178 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (cps-oct a)
;; Convert cycles per second to decimal octaves.
(audition
(let ((f (oct-cps (cps-oct (x-line kr 600 900 6 remove-synth)))))
(out 0 (mul (saw ar f) 0.2))))