108 std::vector<IIR2ndOrderFilter> filters;
Second-order IIR filter stage, for use with the IIRFilter
Definition: iir.h:68
float run(float x)
Apply the filter to the next data sample, x
Definition: iir.cpp:41
IIR2ndOrderFilter(std::vector< float > coefficients)
Construct a new IIR2ndOrderFilter object.
Definition: iir.cpp:28
An IIR filter that can be initialised with SOS coefficients.
Definition: iir.h:102
float run(float x)
Apply the filter to the next data sample, x
Definition: iir.cpp:84
void set(float x)
Set all data in the filter to the given value.
Definition: iir.cpp:58
IIRFilter(SmoothingSettings smoothing_settings)
Construct a new IIRFilter object.
Definition: iir.cpp:52
Perform IIR filtering to smoothen the output results.
Definition: iir.cpp:27
Taps inside the second-order IIR filter.
Definition: iir.h:38
float tap2
Definition: iir.h:46
float a1
Definition: iir.h:43
float b2
Definition: iir.h:41
float b0
Definition: iir.h:39
float tap1
Definition: iir.h:45
float a2
Definition: iir.h:44
float a0
Definition: iir.h:42
float b1
Definition: iir.h:40
Settings for an IIR filter. Wraps the second-order section coefficients for an IIR filter.
Definition: iir.h:54
std::vector< std::vector< float > > coefficients
The sos_coefficients are a 2D vector, where the rows correspond to each of the second order stages,...
Definition: iir.h:61