SynthLab SDK
|
Simple version of the AudioFilter object from Designing Audio Effects Plugins in C++ 2nd Ed. by Will Pirkle that impelments a biquad audio filter. More...
#include <synthbase.h>
Public Member Functions | |
void | reset () |
void | flushDelays () |
void | setCoeffs (BQCoeffs &_coeffs) |
void | copyCoeffs (BQAudioFilter &destination) |
double | processAudioSample (double xn) |
Protected Types | |
enum | { a0, a1, a2, b1, b2, c0, d0 } |
enum | { xz1, xz2, yz1, yz2, numStates } |
Protected Attributes | |
double | state [4] = { 0.0, 0.0, 0.0, 0.0 } |
state registers | |
BQCoeffs | bq |
coefficients | |
Simple version of the AudioFilter object from Designing Audio Effects Plugins in C++ 2nd Ed. by Will Pirkle that impelments a biquad audio filter.
|
inline |
copy biquad coeffieicnets to a destination
|
inline |
flush state variables
|
inline |
run the filter
xn | the input sample |
|
inline |
reset the object
|
inline |
set biquad coeffieicnets directly