|
Audaspace 1.7.0
A high level audio library.
|
This sound creates a reader that plays a triangle tone. More...
#include <Triangle.h>

Public Member Functions | |
| Triangle (float frequency, SampleRate sampleRate=RATE_48000) | |
| Creates a new triangle sound. | |
| float | getFrequency () const |
| Returns the frequency of the triangle 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 triangle tone.
| Triangle::Triangle | ( | float | frequency, |
| SampleRate | sampleRate = RATE_48000 ) |
Creates a new triangle sound.
| frequency | The desired frequency. |
| sampleRate | The target sample rate for playback. |
|
virtual |