30struct EnvelopeParameters;
46 const float m_release;
51 const float m_threshold;
56 const float m_arthreshold;
71 Envelope(std::shared_ptr<ISound> sound,
float attack,
float release,
72 float threshold,
float arthreshold);
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
float sample_t
Sample type.(float samples)
Definition Audaspace.h:126
#define AUD_LOCAL
Used for hiding symbols from export in the shared library.
Definition Audaspace.h:80
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:93
This class provides an interface for infinite impulse response filters via a callback filter function...
Definition CallbackIIRFilterReader.h:50
This sound is a base class for all effect factories that take one other sound as input.
Definition Effect.h:34
This sound creates an envelope follower reader.
Definition Envelope.h:36
static void AUD_LOCAL endEnvelopeFilter(EnvelopeParameters *param)
The endEnvelopeFilter function implements the endFilterIIR callback for the callback IIR filter.
static sample_t AUD_LOCAL envelopeFilter(CallbackIIRFilterReader *reader, EnvelopeParameters *param)
The envelopeFilter function implements the doFilterIIR callback for the callback IIR filter.
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.