Second order Infinite Impulse Response filter. More...
Go to the source code of this file.
Typedefs | |
typedef struct _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 |
Second order Infinite Impulse Response filter.
This file implements a normalised biquad filter (second order IIR):
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 |