Audaspace 1.5.0
A high level audio library.
|
This sound creates a reader that plays a sine tone. More...
#include <Sine.h>
Public Member Functions | |
Sine (float frequency, SampleRate sampleRate=RATE_48000) | |
Creates a new sine sound. | |
float | getFrequency () const |
Returns the frequency of the sine 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 sine tone.
Sine::Sine | ( | float | frequency, |
SampleRate | sampleRate = RATE_48000 ) |
Creates a new sine sound.
frequency | The desired frequency. |
sampleRate | The target sample rate for playback. |
|
virtual |