The current frequency of the oscillator
Sampling frequency of the output
Returns the sampling frequency set in this oscillator.
Sets the sampling frequency of the oscillator. In devived classes, this might also change the internal state of the oscillator.
Returns the current output frequency of the oscillator.
Sets the new frequency of the oscillator. In devived classes, this might also change the internal state of the oscillator.
Generates an output based on the oscillator's internal states.
Generates a variable triangle signal. If shape is set to 0.5, a regular triangle wave will be generated. 0 and 1 will generate regular saw waves. Any inbetween values generate asymmetric triangle waves.