arduino-audio-tools
|
Biquad DF2 Band Pass Filter. When dealing with high-order IIR filters, they can get unstable. To prevent this, BiQuadratic filters (second order) are used. Converted from https://github.com/tttapa/Filters/blob/master/src/BiQuad.h Use float or double (and not a integer type) as type parameter. More...
#include <Filter.h>
Public Member Functions | |
BandPassFilter (float frequency, float sampleRate, float q=1.0) | |
void | begin (float frequency, float sampleRate, float q=1.0) |
T | process (T value) |
Protected Attributes | |
T | a_1 = 0 |
T | a_2 = 0 |
T | b_0 = 0 |
T | b_1 = 0 |
T | b_2 = 0 |
T | w_0 = 0 |
T | w_1 = 0 |
Biquad DF2 Band Pass Filter. When dealing with high-order IIR filters, they can get unstable. To prevent this, BiQuadratic filters (second order) are used. Converted from https://github.com/tttapa/Filters/blob/master/src/BiQuad.h Use float or double (and not a integer type) as type parameter.
T |