This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Typedefs | |
| typedef _aubio_biquad_t | aubio_biquad_t |
| biquad filter object | |
Functions | |
| void | aubio_biquad_do (aubio_biquad_t *b, fvec_t *in) |
| filter input vector | |
| void | aubio_biquad_do_filtfilt (aubio_biquad_t *b, fvec_t *in, fvec_t *tmp) |
| filter input vector forward and backward | |
| aubio_biquad_t * | new_aubio_biquad (lsmp_t b1, lsmp_t b2, lsmp_t b3, lsmp_t a2, lsmp_t a3) |
| create new biquad filter | |
| void | del_aubio_biquad (aubio_biquad_t *b) |
| delete biquad filter | |
This file implements a normalised biquad filter (second order IIR):
![$ y[n] = b_1 x[n] + b_2 x[n-1] + b_3 x[n-2] - a_2 y[n-1] - a_3 y[n-2] $](form_0.png)
The filtfilt version runs the filter twice, forward and backward, to compensate the phase shifting of the forward operation.
| void aubio_biquad_do | ( | aubio_biquad_t * | b, | |
| fvec_t * | in | |||
| ) |
filter input vector
| b | biquad object as returned by new_aubio_biquad | |
| in | input vector to filter |
| void aubio_biquad_do_filtfilt | ( | aubio_biquad_t * | b, | |
| fvec_t * | in, | |||
| fvec_t * | tmp | |||
| ) |
filter input vector forward and backward
| b | biquad object as returned by new_aubio_biquad | |
| in | input vector to filter | |
| tmp | memory space to use for computation |
| void del_aubio_biquad | ( | aubio_biquad_t * | b | ) |
delete biquad filter
| b | biquad object to delete |
create new biquad filter
| b1 | forward filter coefficient | |
| b2 | forward filter coefficient | |
| b3 | forward filter coefficient | |
| a2 | feedback filter coefficient | |
| a3 | feedback filter coefficient |
1.4.7