rsc3/doc/help/ugen/oscillators/saw.help.scrbl

24 lines
422 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(saw rate freq)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Band limited sawtooth wave generator.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(let ((f (x-line kr 40 4000 6 do-nothing)))
(audition (out 0 (mul (saw ar f) 0.2))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00
Two band limited sawtooth waves thru a resonant low pass filter
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(let ((f (x-line kr 8000 400 5 do-nothing)))
(audition (out 0 (rlpf (mul (saw ar (mce2 100 250)) 0.1) f 0.05))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00