rsc3/doc/help/ugen/unary-ops/midi-cps.help.scrbl

16 lines
220 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(midi-cps a)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Convert MIDI note to cycles per second.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition
(out 0 (mul (saw ar (midi-cps (line kr 24 108 10 remove-synth))) 0.2)))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00