Sawtooth-triangle oscillator with variable duty.
freq |
Frequency in Hertz. Positive frequencies only. WARNING: VarSaw will go out of range if the frequency exceeds the sampling rate (which for control rate is s.sampleRate / s.options.blockSize ). |
iphase |
Initial phase offset in cycles. [0..1] |
width |
Duty cycle, denoting where in the cycle the waveform peaks. E.g. for widths of |
mul |
The output will be multiplied by this value. |
add |
This value will be added to the output. |