rsc3/doc/examples/ugen/oscillators/lf-saw.help.scm

15 lines
367 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (lf-saw rate freq iphase)
;; sawtooth oscillator. A non-band-limited sawtooth
;; oscillator. output ranges from -1 to +1.
;; freq - frequency in Hertz
;; iphase - phase in radians
(audition (out 0 (mul (lf-saw ar 500 1) 0.1)))
;; Used as both oscillator and LFO.
(let ((f (mul-add (lf-saw kr 4 0) 400 400)))
(audition (out 0 (mul (lf-saw ar f 0) 0.1))))