SynthLab SDK
|
Implementation of a constant-Q parametric EQ filter. More...
#include <synthbase.h>
Public Member Functions | |
void | reset (double _sampleRate) |
void | setParameters (double _fc, double _Q, double _boostCut_dB) |
double | processAudioSample (double xn) |
run the filter More... | |
Protected Types | |
enum | { xz1, xz2, yz1, yz2, numStates } |
enum | { a0, a1, a2, b1, b2, c0, d0 } |
Implementation of a constant-Q parametric EQ filter.
|
inline |
run the filter
xn | the input sample |
|
inline |
reset to init state
|
inline |
set filter fc, Q and boost/cut values