final case classLFSaw(freqN: GE, phase: GE = 0.0) extends SingleOut with Product with Serializable
Aliased sawtooth oscillator.
Note that the frequency is not in Hertz but
the normalized frequency
as we do not maintained one global sample rate.
For a frequency in Hertz, freqN would be
that frequency divided by the assumed sample rate.
Note: Unlike SuperCollider where LFSaw starts at
zero for a zero phase, this oscillator begins at -1.
To let it start at zero, use a phase of 0.5
freqN
normalized frequency (f/sr).
phase
phase offset from 0 to 1.
Note: negative values are currently broken.
Aliased sawtooth oscillator. Note that the frequency is not in Hertz but the normalized frequency as we do not maintained one global sample rate. For a frequency in Hertz,
freqN
would be that frequency divided by the assumed sample rate.Note: Unlike SuperCollider where
LFSaw
starts at zero for a zero phase, this oscillator begins at-1
. To let it start at zero, use aphase
of0.5
normalized frequency (f/sr).
phase offset from 0 to 1. Note: negative values are currently broken.