OpenShot Audio Library | OpenShotAudio 0.4.0
Loading...
Searching...
No Matches
juce::dsp::IIR::ArrayCoefficients< NumericType > Struct Template Reference

#include <juce_IIRFilter.h>

Static Public Member Functions

static std::array< NumericType, 4 > makeFirstOrderLowPass (double sampleRate, NumericType frequency)
static std::array< NumericType, 4 > makeFirstOrderHighPass (double sampleRate, NumericType frequency)
static std::array< NumericType, 4 > makeFirstOrderAllPass (double sampleRate, NumericType frequency)
static std::array< NumericType, 6 > makeLowPass (double sampleRate, NumericType frequency)
static std::array< NumericType, 6 > makeLowPass (double sampleRate, NumericType frequency, NumericType Q)
static std::array< NumericType, 6 > makeHighPass (double sampleRate, NumericType frequency)
static std::array< NumericType, 6 > makeHighPass (double sampleRate, NumericType frequency, NumericType Q)
static std::array< NumericType, 6 > makeBandPass (double sampleRate, NumericType frequency)
static std::array< NumericType, 6 > makeBandPass (double sampleRate, NumericType frequency, NumericType Q)
static std::array< NumericType, 6 > makeNotch (double sampleRate, NumericType frequency)
static std::array< NumericType, 6 > makeNotch (double sampleRate, NumericType frequency, NumericType Q)
static std::array< NumericType, 6 > makeAllPass (double sampleRate, NumericType frequency)
static std::array< NumericType, 6 > makeAllPass (double sampleRate, NumericType frequency, NumericType Q)
static std::array< NumericType, 6 > makeLowShelf (double sampleRate, NumericType cutOffFrequency, NumericType Q, NumericType gainFactor)
static std::array< NumericType, 6 > makeHighShelf (double sampleRate, NumericType cutOffFrequency, NumericType Q, NumericType gainFactor)
static std::array< NumericType, 6 > makePeakFilter (double sampleRate, NumericType centreFrequency, NumericType Q, NumericType gainFactor)

Detailed Description

template<typename NumericType>
struct juce::dsp::IIR::ArrayCoefficients< NumericType >

A set of coefficients for use in an Filter object.

Definition at line 36 of file juce_dsp/processors/juce_IIRFilter.h.

Member Function Documentation

◆ makeAllPass() [1/2]

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeAllPass ( double sampleRate,
NumericType frequency )
static

◆ makeAllPass() [2/2]

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeAllPass ( double sampleRate,
NumericType frequency,
NumericType Q )
static

Returns the coefficients for an all-pass filter with variable Q.

Definition at line 180 of file juce_dsp/processors/juce_IIRFilter.cpp.

◆ makeBandPass() [1/2]

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeBandPass ( double sampleRate,
NumericType frequency )
static

◆ makeBandPass() [2/2]

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeBandPass ( double sampleRate,
NumericType frequency,
NumericType Q )
static

Returns the coefficients for a band-pass filter with variable Q.

Definition at line 127 of file juce_dsp/processors/juce_IIRFilter.cpp.

◆ makeFirstOrderAllPass()

template<typename NumericType>
std::array< NumericType, 4 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeFirstOrderAllPass ( double sampleRate,
NumericType frequency )
static

Returns the coefficients for a first order all-pass filter.

Definition at line 56 of file juce_dsp/processors/juce_IIRFilter.cpp.

Referenced by juce::dsp::IIR::Coefficients< NumericType >::makeFirstOrderAllPass().

◆ makeFirstOrderHighPass()

template<typename NumericType>
std::array< NumericType, 4 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeFirstOrderHighPass ( double sampleRate,
NumericType frequency )
static

Returns the coefficients for a first order high-pass filter.

Definition at line 44 of file juce_dsp/processors/juce_IIRFilter.cpp.

Referenced by juce::dsp::IIR::Coefficients< NumericType >::makeFirstOrderHighPass().

◆ makeFirstOrderLowPass()

template<typename NumericType>
std::array< NumericType, 4 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeFirstOrderLowPass ( double sampleRate,
NumericType frequency )
static

Returns the coefficients for a first order low-pass filter.

Definition at line 32 of file juce_dsp/processors/juce_IIRFilter.cpp.

Referenced by juce::dsp::IIR::Coefficients< NumericType >::makeFirstOrderLowPass().

◆ makeHighPass() [1/2]

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeHighPass ( double sampleRate,
NumericType frequency )
static

◆ makeHighPass() [2/2]

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeHighPass ( double sampleRate,
NumericType frequency,
NumericType Q )
static

Returns the coefficients for a high-pass filter with variable Q.

Definition at line 101 of file juce_dsp/processors/juce_IIRFilter.cpp.

◆ makeHighShelf()

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeHighShelf ( double sampleRate,
NumericType cutOffFrequency,
NumericType Q,
NumericType gainFactor )
static

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.

Definition at line 225 of file juce_dsp/processors/juce_IIRFilter.cpp.

Referenced by juce::dsp::IIR::Coefficients< NumericType >::makeHighShelf().

◆ makeLowPass() [1/2]

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeLowPass ( double sampleRate,
NumericType frequency )
static

◆ makeLowPass() [2/2]

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeLowPass ( double sampleRate,
NumericType frequency,
NumericType Q )
static

Returns the coefficients for a low-pass filter with variable Q.

Definition at line 75 of file juce_dsp/processors/juce_IIRFilter.cpp.

◆ makeLowShelf()

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeLowShelf ( double sampleRate,
NumericType cutOffFrequency,
NumericType Q,
NumericType gainFactor )
static

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.

Definition at line 199 of file juce_dsp/processors/juce_IIRFilter.cpp.

Referenced by juce::dsp::IIR::Coefficients< NumericType >::makeLowShelf().

◆ makeNotch() [1/2]

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeNotch ( double sampleRate,
NumericType frequency )
static

◆ makeNotch() [2/2]

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makeNotch ( double sampleRate,
NumericType frequency,
NumericType Q )
static

Returns the coefficients for a notch filter with variable Q.

Definition at line 154 of file juce_dsp/processors/juce_IIRFilter.cpp.

◆ makePeakFilter()

template<typename NumericType>
std::array< NumericType, 6 > juce::dsp::IIR::ArrayCoefficients< NumericType >::makePeakFilter ( double sampleRate,
NumericType centreFrequency,
NumericType Q,
NumericType gainFactor )
static

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.

Definition at line 251 of file juce_dsp/processors/juce_IIRFilter.cpp.

Referenced by juce::dsp::IIR::Coefficients< NumericType >::makePeakFilter().


The documentation for this struct was generated from the following files: