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

27 lines
447 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(lf-saw rate freq iphase)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
sawtooth oscillator. A non-band-limited sawtooth
oscillator. output ranges from -1 to +1.
freq - frequency in Hertz
iphase - phase in radians
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition (out 0 (mul (lf-saw ar 500 1) 0.1)))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00
Used as both oscillator and LFO.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(let ((f (mul-add (lf-saw kr 4 0) 400 400)))
(audition (out 0 (mul (lf-saw ar f 0) 0.1))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00