filter.h File Reference
Infinite Impulse Response filter.
More...
Go to the source code of this file.
Detailed Description
Infinite Impulse Response filter.
This file implements IIR filters of any order:
![$ y[n] = b_1 x[n] + ... + b_{order} x[n-order] - a_2 y[n-1] - ... - a_{order} y[n-order]$](form_1.png)
The filtfilt version runs the filter twice, forward and backward, to compensate the phase shifting of the forward operation.
Function Documentation
filter input vector (in-place)
- Parameters:
-
| b | biquad object as returned by new_aubio_biquad |
| in | input vector to filter |
filter input vector forward and backward
- Parameters:
-
| b | biquad object as returned by new_aubio_biquad |
| in | input vector to filter |
| tmp | memory space to use for computation |
filter input vector (out-of-place)
- Parameters:
-
| b | biquad object as returned by new_aubio_biquad |
| in | input vector to filter |
| out | output vector to store filtered input |
delete a filter object
- Parameters:
-
| f | filter object to delete |
create a new A-design filter
- Parameters:
-
| samplerate | sampling-rate of the signal to filter |
create a new C-design filter
- Parameters:
-
| samplerate | sampling-rate of the signal to filter |
create new IIR filter
- Parameters:
-
| samplerate | signal sampling rate |
| order | order of the filter (number of coefficients) |