BiQuad filter. More...
#include <ame_Biquad.hpp>
Classes | |
struct | Coefficients |
BiQuad filter coefficients. More... | |
Public Member Functions | |
Biquad (const FloatType sampleRate) | |
void | setSampleRate (const FloatType newSampleRate) noexcept |
Set new sampleRate. | |
FloatType | getSampleRate () const noexcept |
Return sampleRate. | |
void | setCoefficients (const Coefficients &c) noexcept |
Set BiQuad coefficients. More... | |
Coefficients | getCoefficients () const noexcept |
void | makeLowPass (const FloatType cutOffFrequency, const FloatType Q) noexcept |
Low-pass coefficients calculation from RBJ cookbook. | |
void | makeHighPass (const FloatType cutOffFrequency, const FloatType Q) noexcept |
High-pass coefficients calculation from RBJ cookbook. | |
void | makeBandPass (const FloatType cutOffFrequency, const FloatType Q) noexcept |
BandPass coefficients calculation from RBJ cookbook. | |
void | makeNotch (const FloatType sampleRate, const FloatType cutOffFrequency, const FloatType Q) noexcept |
Notch coefficients calculation from RBJ cookbook. | |
void | makeAllPass (const FloatType cutOffFrequency, const FloatType Q) noexcept |
AllPass coefficients calculation from RBJ cookbook. | |
void | makePeakFilter (const FloatType cutOffFrequency, const FloatType Q, const FloatType gainDb) noexcept |
Peak coefficients calculation from RBJ cookbook. | |
void | makeLowShelf (const FloatType cutOffFrequency, const FloatType Q, const FloatType gainDb) noexcept |
Low-shelf coefficients calculation from RBJ cookbook. | |
void | makeHighShelf (const FloatType cutOffFrequency, const FloatType Q, const FloatType gainDb) noexcept |
High-shelf coefficients calculation from RBJ cookbook. | |
template<typename SampleType , size_t N> | |
void | process (AudioBlockView< SampleType, N > &block) |
Process audio effect. | |
BiQuad filter.
|
inlinenoexcept |
Set BiQuad coefficients.
c | BiQuad coefficients filter.setCoefficients(makeLowPass(48000.0f, 440.0f, 0.707f));
void makeLowPass(const FloatType cutOffFrequency, const FloatType Q) noexcept Low-pass coefficients calculation from RBJ cookbook. Definition: ame_Biquad.hpp:78 |