#include <audio_waveform.hpp>
|
| audio_waveform (audio_sample_rate aSampleRate, float aAmplitude=1.0f) |
|
| audio_waveform (i_audio_device const &aDevice, float aAmplitude=1.0f) |
|
| ~audio_waveform () |
|
void | set_sample_rate (audio_sample_rate aSampleRate) override |
|
i_audio_oscillator & | create_oscillator (float aFrequency, float aAmplitude=1.0f, oscillator_function aFunction=oscillator_function::Sine) final |
|
i_audio_oscillator & | create_oscillator (float aFrequency, float aAmplitude, std::function< float(float)> const &aFunction) final |
| Note: not plugin-safe.
|
|
i_audio_oscillator & | add_oscillator (i_audio_oscillator &aOscillator) final |
|
i_audio_oscillator & | add_oscillator (i_ref_ptr< i_audio_oscillator > const &aOscillator) final |
|
void | remove_oscillator (i_audio_oscillator const &aOscillator) final |
|
audio_frame_count | length () const final |
|
void | generate (audio_channel aChannel, audio_frame_count aFrameCount, float *aOutputFrames) final |
|
void | generate_from (audio_channel aChannel, audio_frame_index aFrameFrom, audio_frame_count aFrameCount, float *aOutputFrames) final |
|
| audio_bitstream (audio_sample_rate aSampleRate, float aAmplitude=1.0f) |
|
| audio_bitstream (i_audio_device const &aDevice, float aAmplitude=1.0f) |
|
| ~audio_bitstream () |
|
audio_sample_rate | sample_rate () const final |
|
void | set_sample_rate (audio_sample_rate aSampleRate) override |
|
float | amplitude () const final |
|
void | set_amplitude (float aAmplitude) final |
|
bool | has_envelope () const final |
|
adsr_envelope const & | envelope () const final |
|
void | clear_envelope () final |
|
void | set_envelope (adsr_envelope const &aEnvelope) final |
|
| reference_counted () noexcept |
|
| reference_counted (const reference_counted &aOther) noexcept |
|
| ~reference_counted () |
|
reference_counted & | operator= (const reference_counted &) |
|
void | add_ref () const noexcept override |
|
void | release () const override |
|
int32_t | use_count () const noexcept override |
|
const base_type * | release_and_take_ownership () const override |
|
base_type * | release_and_take_ownership () override |
|
void | pin () const noexcept override |
|
void | unpin () const override |
|
i_ref_control_block & | control_block () override |
|
Definition at line 29 of file audio_waveform.hpp.
◆ audio_waveform() [1/2]
neogfx::audio_waveform::audio_waveform |
( |
audio_sample_rate |
aSampleRate, |
|
|
float |
aAmplitude = 1.0f |
|
) |
| |
◆ audio_waveform() [2/2]
neogfx::audio_waveform::audio_waveform |
( |
i_audio_device const & |
aDevice, |
|
|
float |
aAmplitude = 1.0f |
|
) |
| |
◆ ~audio_waveform()
neogfx::audio_waveform::~audio_waveform |
( |
| ) |
|
◆ add_oscillator() [1/2]
◆ add_oscillator() [2/2]
◆ create_oscillator() [1/2]
i_audio_oscillator & neogfx::audio_waveform::create_oscillator |
( |
float |
aFrequency, |
|
|
float |
aAmplitude, |
|
|
std::function< float(float)> const & |
aFunction |
|
) |
| |
|
final |
◆ create_oscillator() [2/2]
◆ generate()
◆ generate_from()
◆ length()
◆ remove_oscillator()
◆ set_sample_rate()
The documentation for this class was generated from the following file: