#include <audio_oscillator.hpp>
Definition at line 27 of file audio_oscillator.hpp.
◆ audio_oscillator() [1/2]
◆ audio_oscillator() [2/2]
neogfx::audio_oscillator::audio_oscillator |
( |
audio_sample_rate |
aSampleRate, |
|
|
float |
aFrequency, |
|
|
float |
aAmplitude, |
|
|
std::function< float(float)> const & |
aFunction |
|
) |
| |
◆ amplitude()
float neogfx::audio_oscillator::amplitude |
( |
| ) |
const |
|
final |
◆ frequency()
float neogfx::audio_oscillator::frequency |
( |
| ) |
const |
|
final |
◆ function()
◆ generate()
void neogfx::audio_oscillator::generate |
( |
audio_sample_count |
aSampleCount, |
|
|
float * |
aOutputSamples |
|
) |
| |
|
final |
◆ generate_from()
◆ sample_rate()
◆ set_amplitude()
void neogfx::audio_oscillator::set_amplitude |
( |
float |
aAmplitude | ) |
|
|
final |
◆ set_frequency()
void neogfx::audio_oscillator::set_frequency |
( |
float |
aFrequency | ) |
|
|
final |
◆ set_function() [1/2]
◆ set_function() [2/2]
void neogfx::audio_oscillator::set_function |
( |
std::function< float(float)> const & |
aFunction | ) |
|
|
final |
◆ set_sample_rate()
The documentation for this class was generated from the following file: