DaisySP
|
Variable Saw Oscillator. More...
#include <variablesawosc.h>
Public Member Functions | |
void | Init (float sample_rate) |
float | Process () |
void | SetFreq (float frequency) |
void | SetPW (float pw) |
void | SetWaveshape (float waveshape) |
Variable Saw Oscillator.
float VariableSawOscillator::Process | ( | ) |
Get the next sample
Set master freq.
frequency | Freq in Hz. |
Adjust the wave depending on the shape
pw | Notch or slope. Works best -1 to 1. |
Slope or notch
waveshape | 0 = notch, 1 = slope |