A set of coefficients for use in an IIRFilter object.
More...
#include <juce_IIRFilter.h>
|
static IIRCoefficients | makeLowPass (double sampleRate, double frequency) noexcept |
| Returns the coefficients for a low-pass filter.
|
|
static IIRCoefficients | makeLowPass (double sampleRate, double frequency, double Q) noexcept |
| Returns the coefficients for a low-pass filter with variable Q.
|
|
static IIRCoefficients | makeHighPass (double sampleRate, double frequency) noexcept |
| Returns the coefficients for a high-pass filter.
|
|
static IIRCoefficients | makeHighPass (double sampleRate, double frequency, double Q) noexcept |
| Returns the coefficients for a high-pass filter with variable Q.
|
|
static IIRCoefficients | makeBandPass (double sampleRate, double frequency) noexcept |
| Returns the coefficients for a band-pass filter.
|
|
static IIRCoefficients | makeBandPass (double sampleRate, double frequency, double Q) noexcept |
| Returns the coefficients for a band-pass filter with variable Q.
|
|
static IIRCoefficients | makeNotchFilter (double sampleRate, double frequency) noexcept |
| Returns the coefficients for a notch filter.
|
|
static IIRCoefficients | makeNotchFilter (double sampleRate, double frequency, double Q) noexcept |
| Returns the coefficients for a notch filter with variable Q.
|
|
static IIRCoefficients | makeAllPass (double sampleRate, double frequency) noexcept |
| Returns the coefficients for an all-pass filter.
|
|
static IIRCoefficients | makeAllPass (double sampleRate, double frequency, double Q) noexcept |
| Returns the coefficients for an all-pass filter with variable Q.
|
|
static IIRCoefficients | makeLowShelf (double sampleRate, double cutOffFrequency, double Q, float gainFactor) noexcept |
| Returns the coefficients for a low-pass shelf filter with variable Q and gain.
|
|
static IIRCoefficients | makeHighShelf (double sampleRate, double cutOffFrequency, double Q, float gainFactor) noexcept |
| Returns the coefficients for a high-pass shelf filter with variable Q and gain.
|
|
static IIRCoefficients | makePeakFilter (double sampleRate, double centreFrequency, double Q, float gainFactor) noexcept |
| Returns the coefficients for a peak filter centred around a given frequency, with a variable Q and gain.
|
|
A set of coefficients for use in an IIRFilter object.
- See also
- IIRFilter
◆ IIRCoefficients() [1/3]
IIRCoefficients::IIRCoefficients |
( |
| ) |
|
|
noexcept |
Creates a null set of coefficients (which will produce silence).
◆ IIRCoefficients() [2/3]
Directly constructs an object from the raw coefficients.
Most people will want to use the static methods instead of this, but the constructor is public to allow tinkerers to create their own custom filters!
◆ IIRCoefficients() [3/3]
Creates a copy of another filter.
◆ ~IIRCoefficients()
IIRCoefficients::~IIRCoefficients |
( |
| ) |
|
|
noexcept |
◆ operator=()
Creates a copy of another filter.
◆ makeLowPass() [1/2]
Returns the coefficients for a low-pass filter.
◆ makeLowPass() [2/2]
Returns the coefficients for a low-pass filter with variable Q.
◆ makeHighPass() [1/2]
Returns the coefficients for a high-pass filter.
◆ makeHighPass() [2/2]
Returns the coefficients for a high-pass filter with variable Q.
◆ makeBandPass() [1/2]
Returns the coefficients for a band-pass filter.
◆ makeBandPass() [2/2]
Returns the coefficients for a band-pass filter with variable Q.
◆ makeNotchFilter() [1/2]
Returns the coefficients for a notch filter.
◆ makeNotchFilter() [2/2]
Returns the coefficients for a notch filter with variable Q.
◆ makeAllPass() [1/2]
Returns the coefficients for an all-pass filter.
◆ makeAllPass() [2/2]
Returns the coefficients for an all-pass filter with variable Q.
◆ makeLowShelf()
Returns the coefficients for a low-pass shelf filter with variable Q and gain.
The gain is a scale factor that the low frequencies are multiplied by, so values greater than 1.0 will boost the low frequencies, values less than 1.0 will attenuate them.
◆ makeHighShelf()
Returns the coefficients for a high-pass shelf filter with variable Q and gain.
The gain is a scale factor that the high frequencies are multiplied by, so values greater than 1.0 will boost the high frequencies, values less than 1.0 will attenuate them.
◆ makePeakFilter()
Returns the coefficients for a peak filter centred around a given frequency, with a variable Q and gain.
The gain is a scale factor that the centre frequencies are multiplied by, so values greater than 1.0 will boost the centre frequencies, values less than 1.0 will attenuate them.
◆ coefficients
float IIRCoefficients::coefficients[5] |
The raw coefficients.
You should leave these numbers alone unless you really know what you're doing.
The documentation for this class was generated from the following file: