|
miniDSP
A small C library for audio DSP
|
State and coefficients for a single biquad filter section. More...
#include <biquad.h>
Data Fields | |
| smp_type | a0 |
| smp_type | a1 |
| smp_type | a2 |
| smp_type | a3 |
| smp_type | a4 |
| smp_type | x1 |
| smp_type | x2 |
| smp_type | y1 |
| smp_type | y2 |
State and coefficients for a single biquad filter section.
The five a-coefficients encode the filter transfer function: y[n] = a0*x[n] + a1*x[n-1] + a2*x[n-2] - a3*y[n-1] - a4*y[n-2]
x1, x2 hold the two most recent input samples ("delay line"). y1, y2 hold the two most recent output samples.