rsc3/doc/help/ugen/unary-ops/cps-oct.help.scrbl
2022-08-28 12:27:01 +02:00

16 lines
253 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(cps-oct a)}
Convert cycles per second to decimal octaves.
@racketblock[
(audition
(let ((f (oct-cps (cps-oct (x-line kr 600 900 6 remove-synth)))))
(out 0 (mul (saw ar f) 0.2))))
]