Generates an output based on the oscillator's internal states.
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 pulse signal. If set to 0.5, the output will be a perfect square wave.