9 lines
208 B
Scheme
9 lines
208 B
Scheme
|
;; sample-rate
|
||
|
|
||
|
;; Server sample rate.
|
||
|
|
||
|
;; Compare a sine tone derived from sample rate with a 440Hz tone.
|
||
|
|
||
|
(let ((freq (mce2 (mul sample-rate 0.01) 440)))
|
||
|
(audition (out 0 (mul (sin-osc ar freq 0) 0.1))))
|