#include <filter.hpp>
|
| float | b [B_ORDER] |
| | transfer function numerator coefficients: b_0, b_1, etc.
|
| float | a [A_ORDER - 1] |
| | transfer function denominator coefficients: a_1, a_2, etc.
|
| float | x [B_ORDER - 1] |
| | input state x[0] = x_{n-1} x[1] = x_{n-2} etc.
|
| float | y [A_ORDER - 1] |
| | output state
|
◆ Type
template<typename T = float>
| Enumerator |
|---|
| LOWPASS_1POLE | |
| HIGHPASS_1POLE | |
| LOWPASS | |
| HIGHPASS | |
| LOWSHELF | |
| HIGHSHELF | |
| BANDPASS | |
| PEAK | |
| NOTCH | |
| NUM_TYPES | |
◆ TBiquadFilter()
template<typename T = float>
◆ setParameters()
template<typename T = float>
Calculates and sets the biquad transfer function coefficients.
f: normalized frequency (cutoff frequency / sample rate), must be less than 0.5 Q: quality factor V: gain
The documentation for this struct was generated from the following file:
- /home/vortico/src/vcv/Rack2/include/dsp/filter.hpp