72 Equalizer(
size_t hopSize,
const Window& wnd,
const std::initializer_list<Equalizer::FrequencyRange>& frequencyRanges);
80 Equalizer(
size_t hopSize,
const Window& wnd,
const std::vector<Equalizer::FrequencyRange>& frequencyRanges);
85 virtual std::string
Name()
const override;
#define HEPH_API
Definition HephShared.h:124
class for storing the audio samples in internal format.
Definition AudioBuffer.h:16
adjusts the volumes of multiple frequency ranges.
Definition Equalizer.h:15
virtual void RemoveFrequencyRange(size_t index)
virtual void AddFrequencyRange(double f1, double f2, double volume)
virtual const std::vector< Equalizer::FrequencyRange > & GetFrequencyRanges() const
virtual void ProcessST(const AudioBuffer &inputBuffer, AudioBuffer &outputBuffer, size_t startIndex, size_t frameCount) override
virtual ~Equalizer()=default
Equalizer(size_t hopSize, const Window &wnd, const std::initializer_list< Equalizer::FrequencyRange > &frequencyRanges)
std::vector< Equalizer::FrequencyRange > frequencyRanges
Definition Equalizer.h:57
virtual std::string Name() const override
virtual void AddFrequencyRange(const Equalizer::FrequencyRange &range)
Equalizer(size_t hopSize, const Window &wnd)
Equalizer(size_t hopSize, const Window &wnd, const std::vector< Equalizer::FrequencyRange > &frequencyRanges)
virtual void ModifyFrequencyRange(size_t index, const Equalizer::FrequencyRange &range)
base class for effects that are computed in the frequency domain.
Definition FrequencyDomainEffect.h:16
base class for windows.
Definition Window.h:14
represents a range of frequencies with volume adjustment.
Definition Equalizer.h:22
double volume
Definition Equalizer.h:39
double f2
Definition Equalizer.h:33
FrequencyRange(double f1, double f2, double volume)
double f1
Definition Equalizer.h:27