A sawtooth wave that is hard synched to a fundamental pitch. This produces an effect similar to moving formants or pulse width modulation. The sawtooth oscillator has its phase reset when the sync oscillator completes a cycle. This is not a band limited waveform, so it may alias.
syncFreq |
Frequency of the fundamental. |
sawFreq |
Frequency of the synched sawtooth wave. Should always be greater than syncFreq. WARNING: SyncSaw will go out of range if the frequency exceeds the sampling rate (which for control rate is s.sampleRate / s.options.blockSize ). |
mul |
The output will be multiplied by this value. |
add |
This value will be added to the output. |