Audio Processing Framework (APF) version 0.5.0
|
Direct Form II recursive filter of second order. More...
#include <apf/biquad.h>
Public Types | |
using | argument_type = T |
using | result_type = T |
Public Member Functions | |
BiQuad & | operator= (const SosCoefficients< T > &c) |
Assignment operator. More... | |
result_type | operator() (argument_type in) |
Process filter on single sample. More... | |
Public Member Functions inherited from apf::SosCoefficients< T > | |
SosCoefficients (T b0_=T(), T b1_=T(), T b2_=T(), T a1_=T(), T a2_=T()) | |
SosCoefficients & | operator+= (const SosCoefficients &rhs) |
SosCoefficients | operator+ (const SosCoefficients &rhs) const |
SosCoefficients & | operator*= (T rhs) |
SosCoefficients | operator* (T rhs) const |
SosCoefficients & | operator/= (T rhs) |
SosCoefficients | operator/ (T rhs) const |
Public Attributes | |
T | w0 |
T | w1 |
T | w2 |
Public Attributes inherited from apf::SosCoefficients< T > | |
T | b0 |
T | b1 |
T | b2 |
T | a1 |
T | a2 |
Direct Form II recursive filter of second order.
T | internal type of states and coefficients |
DenormalPrevention | method of denormal prevention (see apf::dp) |
using apf::BiQuad< T, DenormalPrevention >::argument_type = T |
using apf::BiQuad< T, DenormalPrevention >::result_type = T |
|
inline |
|
inline |
Assignment operator.
Change coefficients when operator '=' is called with SosCoefficients.
c | New set of coefficients |
|
inline |
T apf::BiQuad< T, DenormalPrevention >::w0 |
T apf::BiQuad< T, DenormalPrevention >::w1 |
T apf::BiQuad< T, DenormalPrevention >::w2 |