Second-order IIR filter in Direct Form I. Maintains separate input and output histories (x and y delay lines). Requires more memory than DF2 but is less susceptible to quantization issues with fixed-point arithmetic.
More...
#include <Filter.h>
|
| | BiQuadDF1 (const T(&b)[3], const T(&a)[2]) |
| |
| | BiQuadDF1 (const T(&b)[3], const T(&a)[2], T gain) |
| |
| | BiQuadDF1 (const T(&b)[3], const T(&a)[3]) |
| |
| | BiQuadDF1 (const T(&b)[3], const T(&a)[3], T gain) |
| |
| T | process (T value) override |
| | Processes the input value and returns the filtered output value.
|
| |
| void | reset () override |
| |
template<typename T = float>
class audio_tools::BiQuadDF1< T >
Second-order IIR filter in Direct Form I. Maintains separate input and output histories (x and y delay lines). Requires more memory than DF2 but is less susceptible to quantization issues with fixed-point arithmetic.
- Author
- Pieter P tttapa / pschatzmann
- Copyright
- GNU General Public License v3.0
- Template Parameters
-
| T | sample type (use float or double, not integer types) |
◆ BiQuadDF1() [1/5]
template<typename T = float>
| BiQuadDF1 |
( |
const T(&) |
b[3], |
|
|
const T(&) |
a[3] |
|
) |
| |
|
inline |
◆ BiQuadDF1() [2/5]
template<typename T = float>
| BiQuadDF1 |
( |
const T(&) |
b[3], |
|
|
const T(&) |
a[2] |
|
) |
| |
|
inline |
◆ BiQuadDF1() [3/5]
template<typename T = float>
| BiQuadDF1 |
( |
const T(&) |
b[3], |
|
|
const T(&) |
a[2], |
|
|
T |
gain |
|
) |
| |
|
inline |
◆ BiQuadDF1() [4/5]
template<typename T = float>
| BiQuadDF1 |
( |
const T(&) |
b[3], |
|
|
const T(&) |
a[3], |
|
|
T |
gain |
|
) |
| |
|
inline |
◆ BiQuadDF1() [5/5]
template<typename T = float>
◆ process()
template<typename T = float>
Processes the input value and returns the filtered output value.
Implements Filter< T >.
◆ reset()
template<typename T = float>
Clears the internal state (delay lines) without changing the coefficients. Call after reconfiguring filter parameters via begin() to avoid transients from stale state.
Reimplemented from Filter< T >.
◆ a_1
template<typename T = float>
◆ a_2
template<typename T = float>
◆ b_0
template<typename T = float>
◆ b_1
template<typename T = float>
◆ b_2
template<typename T = float>
◆ x_0
template<typename T = float>
◆ x_1
template<typename T = float>
◆ y_1
template<typename T = float>
◆ y_2
template<typename T = float>
The documentation for this class was generated from the following file:
- src/AudioTools/CoreAudio/AudioFilter/Filter.h