|
AuxPort 0.2
Modules for Audio Software Development
|
WhiteNoise Oscillator. More...
#include <AuxOscillator.h>
Public Member Functions | |
| WhiteNoise (const WhiteNoise &wn)=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 |
Definition at line 184 of file AuxOscillator.h.
| AuxPort::Audio::WhiteNoise::WhiteNoise | ( | ) |
Definition at line 142 of file AuxOscillator.cpp.
|
overridevirtual |
This function generates the sample from the Oscillator.
Reimplemented from AuxPort::Audio::Oscillator.
Definition at line 148 of file AuxOscillator.cpp.