|
Audaspace 1.7.0
A high level audio library.
|
This sound creates an envelope follower reader. More...
#include <Envelope.h>

Public Member Functions | |
| Envelope (std::shared_ptr< ISound > sound, float attack, float release, float threshold, float arthreshold) | |
| Creates a new envelope sound. | |
| virtual std::shared_ptr< IReader > | createReader () |
| Creates a reader for playback of the sound source. | |
| Public Member Functions inherited from Effect | |
| Effect (std::shared_ptr< ISound > sound) | |
| Creates a new sound. | |
| virtual | ~Effect () |
| Destroys the sound. | |
| std::shared_ptr< ISound > | getSound () const |
| Returns the saved sound. | |
| Public Member Functions inherited from ISound | |
| virtual | ~ISound () |
| Destroys the sound. | |
Static Public Member Functions | |
| static sample_t AUD_LOCAL | envelopeFilter (CallbackIIRFilterReader *reader, EnvelopeParameters *param) |
| The envelopeFilter function implements the doFilterIIR callback for the callback IIR filter. | |
| static void AUD_LOCAL | endEnvelopeFilter (EnvelopeParameters *param) |
| The endEnvelopeFilter function implements the endFilterIIR callback for the callback IIR filter. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Effect | |
| std::shared_ptr< IReader > | getReader () const |
| Returns the reader created out of the sound. | |
| Protected Attributes inherited from Effect | |
| std::shared_ptr< ISound > | m_sound |
| If there is no reader it is created out of this sound. | |
This sound creates an envelope follower reader.
| Envelope::Envelope | ( | std::shared_ptr< ISound > | sound, |
| float | attack, | ||
| float | release, | ||
| float | threshold, | ||
| float | arthreshold ) |
Creates a new envelope sound.
| sound | The input sound. |
| attack | The attack value in seconds. |
| release | The release value in seconds. |
| threshold | The threshold value. |
| arthreshold | The attack/release threshold value. |
|
virtual |
|
static |
The endEnvelopeFilter function implements the endFilterIIR callback for the callback IIR filter.
| param | The envelope parameters. |
|
static |
The envelopeFilter function implements the doFilterIIR callback for the callback IIR filter.
| reader | The CallbackIIRFilterReader that executes the callback. |
| param | The envelope parameters. |