iir1
|
#include <Butterworth.h>
Public Member Functions | |
void | setup (double sampleRate, double cutoffFrequency) |
void | setup (int reqOrder, double sampleRate, double cutoffFrequency) |
void | setupN (double cutoffFrequency) |
void | setupN (int reqOrder, double cutoffFrequency) |
![]() | |
void | reset () |
void | setup (const double(&sosCoefficients)[MaxStages][6]) |
template<typename Sample > | |
Sample | filter (const Sample in) |
const Cascade::Storage | getCascadeStorage () |
Butterworth Lowpass filter.
FilterOrder | Reserves memory for a filter of the order FilterOrder |
StateType | The filter topology: DirectFormI, DirectFormII, ... |
|
inline |
Calculates the coefficients
sampleRate | Sampling rate |
cutoffFrequency | Cutoff |
|
inline |
Calculates the coefficients
reqOrder | The actual order which can be less than the instantiated one |
sampleRate | Sampling rate |
cutoffFrequency | Cutoff |
|
inline |
Calculates the coefficients
cutoffFrequency | Normalised cutoff frequency (0..1/2) |
|
inline |
Calculates the coefficients
reqOrder | The actual order which can be less than the instantiated one |
cutoffFrequency | Normalised cutoff frequency (0..1/2) |