PortAudio
2.0
|
Go to the source code of this file.
Data Structures | |
struct | BiquadFilter_s |
Macros | |
#define | BIQUAD_MIN_RATIO (0.000001) |
#define | BIQUAD_MIN_Q (0.00001) |
Typedefs | |
typedef struct BiquadFilter_s | BiquadFilter |
Functions | |
void | BiquadFilter_SetupHighPass (BiquadFilter *filter, double ratio, double Q) |
void | BiquadFilter_SetupNotch (BiquadFilter *filter, double ratio, double Q) |
void | BiquadFilter_Filter (BiquadFilter *filter, float *inputs, float *outputs, int numSamples) |
#define BIQUAD_MIN_Q (0.00001) |
Referenced by BiquadFilter_SetupHighPass(), and BiquadFilter_SetupNotch().
#define BIQUAD_MIN_RATIO (0.000001) |
Unit_BiquadFilter implements a second order IIR filter.
Referenced by BiquadFilter_SetupHighPass(), and BiquadFilter_SetupNotch().
typedef struct BiquadFilter_s BiquadFilter |
void BiquadFilter_Filter | ( | BiquadFilter * | filter, |
float * | inputs, | ||
float * | outputs, | ||
int | numSamples | ||
) |
References BiquadFilter_s::a0, BiquadFilter_s::a1, BiquadFilter_s::a2, BiquadFilter_s::b1, BiquadFilter_s::b2, BiquadFilter_s::xn1, BiquadFilter_s::xn2, BiquadFilter_s::yn1, and BiquadFilter_s::yn2.
Referenced by PaQa_FilterRecording().
void BiquadFilter_SetupHighPass | ( | BiquadFilter * | filter, |
double | ratio, | ||
double | Q | ||
) |
References BiquadFilter_s::a0, BiquadFilter_s::a1, BiquadFilter_s::a2, BiquadFilter_s::alpha, BiquadFilter_s::b1, BiquadFilter_s::b2, BIQUAD_MIN_Q, BIQUAD_MIN_RATIO, and BiquadFilter_s::cos_omega.
Referenced by PaQa_DetectPop().
void BiquadFilter_SetupNotch | ( | BiquadFilter * | filter, |
double | ratio, | ||
double | Q | ||
) |
References BiquadFilter_s::a0, BiquadFilter_s::a1, BiquadFilter_s::a2, BiquadFilter_s::alpha, BiquadFilter_s::b1, BiquadFilter_s::b2, BIQUAD_MIN_Q, BIQUAD_MIN_RATIO, and BiquadFilter_s::cos_omega.
Referenced by PaQa_DetectPop().