packages feed

hdf-0.7: Help/UGen/Oscillator/lf_saw.help.lhs

lf_saw f ip

Sawtooth oscillator.  A non-band-limited sawtooth
oscillator. Output ranges from -1 to +1.

    f - frequency (in hertz)
   ip - initial phase (0,2)

> import Sound.DF

> do { o <- lf_saw 500.0 1.0
>    ; audition [] (out1 (o * 0.1)) }

Used as both Oscillator and LFO.

> do { f <- lf_saw 4.0 0.0
>    ; o <- lf_saw (f * 400.0 + 400.0) 0.0
>    ; audition [] (out1 (o * 0.1)) }