Audaspace 1.5.0
A high level audio library.
|
This sound creates a reader that plays a sawtooth tone. More...
#include <Sawtooth.h>
Public Member Functions | |
Sawtooth (float frequency, SampleRate sampleRate=RATE_48000) | |
Creates a new sawtooth sound. | |
float | getFrequency () const |
Returns the frequency of the sawtooth wave. | |
virtual std::shared_ptr< IReader > | createReader () |
Creates a reader for playback of the sound source. | |
Public Member Functions inherited from ISound | |
virtual | ~ISound () |
Destroys the sound. | |
This sound creates a reader that plays a sawtooth tone.
Sawtooth::Sawtooth | ( | float | frequency, |
SampleRate | sampleRate = RATE_48000 ) |
Creates a new sawtooth sound.
frequency | The desired frequency. |
sampleRate | The target sample rate for playback. |
|
virtual |