|
| | onepole () |
| void | set_lp (float fc, float sr) |
| | Set coefficients for a lowpass filter.
|
| void | set_ap (float fc, float sr) |
| | Set coefficients for an allpass filter.
|
| void | set_ap_w (float w) |
| void | set_hp (float fc, float sr) |
| | Set coefficients for a highpass filter.
|
| T | process (T in) |
| | Process one sample.
|
| T | process_lp (T in) |
| | Process one sample, assuming it's a lowpass filter (optimized special case).
|
| T | process_hp (T in) |
| | Process one sample, assuming it's a highpass filter (optimized special case).
|
| T | process_ap (T in) |
| | Process one sample, assuming it's an allpass filter (optimized special case).
|
| T | process_ap (T in, float &x1, float &y1) |
| | Process one sample using external state variables.
|
| T | process_ap (T in, float &x1, float &y1, float a0) |
| | Process one sample using external state variables, including filter coeff.
|
| bool | empty () const |
| void | sanitize () |
| void | reset () |
| template<class U> |
| void | copy_coeffs (const onepole< U > &src) |
| float | freq_gain (float freq, float sr) const |
| cfloat | h_z (const cfloat &z) const |
template<class T = float, class Coeff = float>
class dsp::onepole< T, Coeff >
one-pole filter, for floating point values coefficient calculation is based on bilinear transform, and the code itself is based on my very old OneSignal lib lp and hp are somewhat tested, allpass is not tested at all don't use this for integers because it won't work