57 ADSR& operator=(
const ADSR&) =
delete;
68 ADSR(std::shared_ptr<ISound> sound,
float attack,
float decay,
float sustain,
float release);
74 float getAttack()
const;
80 void setAttack(
float attack);
86 float getDecay()
const;
92 void setDecay(
float decay);
98 float getSustain()
const;
104 void setSustain(
float sustain);
110 float getRelease()
const;
116 void setRelease(
float release);
#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
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
virtual std::shared_ptr< IReader > createReader()=0
Creates a reader for playback of the sound source.
The ADSR effect implements the Attack-Delay-Sustain-Release behaviour of a sound. ...
Definition: ADSR.h:32
This sound is a base class for all effect factories that take one other sound as input.
Definition: Effect.h:33