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>
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/4]
template<typename T >
| BiQuadDF1 |
( |
const T(&) |
b[3], |
|
|
const T(&) |
a[3] |
|
) |
| |
|
inline |
◆ BiQuadDF1() [2/4]
template<typename T >
| BiQuadDF1 |
( |
const T(&) |
b[3], |
|
|
const T(&) |
a[2] |
|
) |
| |
|
inline |
◆ BiQuadDF1() [3/4]
template<typename T >
| BiQuadDF1 |
( |
const T(&) |
b[3], |
|
|
const T(&) |
a[2], |
|
|
T |
gain |
|
) |
| |
|
inline |
◆ BiQuadDF1() [4/4]
template<typename T >
| BiQuadDF1 |
( |
const T(&) |
b[3], |
|
|
const T(&) |
a[3], |
|
|
T |
gain |
|
) |
| |
|
inline |
◆ process()
Processes the input value and returns the filtered output value.
Implements Filter< T >.
◆ reset()
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 >.
The documentation for this class was generated from the following file:
- src/AudioTools/CoreAudio/AudioFilter/Filter.h