80 virtual std::string
Name()
const override;
class for storing the audio samples in internal format.
Definition AudioBuffer.h:16
base class for the audio effects.
Definition AudioEffect.h:15
virtual void Process(AudioBuffer &buffer)
adds echo to the audio data.
Definition Echo.h:14
virtual double GetEchoDuration() const
Echo(size_t reflectionCount, double reflectionDelay, double decayFactor, double echoStart, double echoDuration)
size_t reflectionCount
Definition Echo.h:23
double decayFactor
Definition Echo.h:35
virtual void SetDecayFactor(double decayFactor)
void ProcessST(const AudioBuffer &inputBuffer, AudioBuffer &outputBuffer, size_t startIndex, size_t frameCount) override
double echoStart
Definition Echo.h:41
virtual std::string Name() const override
virtual double GetEchoStart() const
virtual void SetReflectionDelay(double reflectionDelay)
virtual double GetReflectionDelay() const
virtual void SetReflectionCount(size_t reflectionCount)
virtual size_t GetReflectionCount() const
double echoDuration
Definition Echo.h:47
virtual void SetEchoDuration(double echoDuration)
virtual void SetEchoStart(double echoStart)
virtual void Process(AudioBuffer &buffer, size_t startIndex, size_t frameCount) override
size_t currentIndex
Definition Echo.h:59
AudioBuffer pastSamples
Definition Echo.h:53
double reflectionDelay
Definition Echo.h:29
virtual double GetDecayFactor() const