iir1
|
#include <Butterworth.h>
Public Member Functions | |
void | setup (double sampleRate, double cutoffFrequency, double gainDb) |
void | setup (int reqOrder, double sampleRate, double cutoffFrequency, double gainDb) |
void | setupN (double cutoffFrequency, double gainDb) |
void | setupN (int reqOrder, double cutoffFrequency, double gainDb) |
![]() | |
![]() | |
void | reset () |
void | setup (const double(&sosCoefficients)[MaxStages][6]) |
Sample | filter (const Sample in) |
const Cascade::Storage | getCascadeStorage () |
Butterworth high shelf filter. Above the cutoff the filter has a specified gain and below it has 0 dB.
FilterOrder | Reserves memory for a filter of the order FilterOrder |
StateType | The filter topology: DirectFormI, DirectFormII, ... |
|
inline |
Calculates the coefficients with the filter order provided by the instantiation
sampleRate | Sampling rate |
cutoffFrequency | Cutoff |
gainDb | Gain in dB of the filter in the passband |
|
inline |
Calculates the coefficients
reqOrder | The actual order which can be less than the instantiated one |
sampleRate | Sampling rate |
cutoffFrequency | Cutoff |
gainDb | Gain in dB of the filter in the passband |
|
inline |
Calculates the coefficients with the filter order provided by the instantiation
cutoffFrequency | Normalised cutoff frequency (0..1/2) |
gainDb | Gain in dB of the filter in the passband |
|
inline |
Calculates the coefficients
reqOrder | The actual order which can be less than the instantiated one |
cutoffFrequency | Normalised cutoff frequency (0..1/2) |
gainDb | Gain in dB of the filter in the passband |