|
AuxPort 0.2
Modules for Audio Software Development
|
Unipolar Sawtooth. More...
#include <AuxOscillator.h>
Public Member Functions | |
| UnipolarSawtooth (const UnipolarSawtooth &saw)=default | |
| float | process () override |
| This function generates the sample from the Oscillator. | |
Public Member Functions inherited from AuxPort::Audio::Oscillator | |
| Oscillator (const Oscillator &osc)=default | |
| virtual void | setSampleRate (uint32_t sampleRate) |
| Use this function to set the sample rate of the oscillator [Overridable]. | |
| virtual void | setFrequency (float frequency) |
| Use this function to set the frequency of the oscillator [Overridable]. | |
| virtual void | stop () |
| Use this function to stop the Oscillator from generating samples [Overridable]. | |
| virtual bool | isPlaying () |
| Checks whether the Oscillator is still generating samples [Overridable]. | |
Additional Inherited Members | |
Protected Attributes inherited from AuxPort::Audio::Oscillator | |
| uint32_t | sampleRate = 44100 |
| float | frequency = 100 |
| float | sample = 0 |
| float | mod = 0 |
| float | inc = 0 |
Unipolar Sawtooth.
Definition at line 74 of file AuxOscillator.h.
|
overridevirtual |
This function generates the sample from the Oscillator.
Reimplemented from AuxPort::Audio::Oscillator.
Definition at line 43 of file AuxOscillator.cpp.