Second-order IIR filter stage, for use with the IIRFilter
More...
#include <iir.h>
Second-order IIR filter stage, for use with the IIRFilter
◆ IIR2ndOrderFilter()
IIR::IIR2ndOrderFilter::IIR2ndOrderFilter |
( |
std::vector< float > |
coefficients | ) |
|
|
explicit |
Construct a new IIR2ndOrderFilter
object.
- Parameters
-
coefficients | List of float coefficients for use in the IIR filter stage |
◆ run()
float IIR::IIR2ndOrderFilter::run |
( |
float |
x | ) |
|
Apply the filter to the next data sample, x
Every call to this method constitutes a time step in the IIR filter
- Parameters
-
- Returns
float
Filtered data sample
The documentation for this class was generated from the following files: