SPUC
3.0
|
Template Class for IIR Filter using 2 1st order sections. More...
#include <iir_allpass1.h>
Public Member Functions | |
iir_allpass1 (Coeff c0, Coeff c1, long round_bits=0) | |
iir_allpass1 (float_type fp) | |
void | reset () |
reset More... | |
Numeric | clock (Numeric input) |
Shift inputs by one time sample and place new sample into array. More... | |
Protected Attributes | |
int | Delay |
The 2 1st order allpass filters. More... | |
allpass_1< Numeric, Coeff > | A0 |
allpass_1< Numeric, Coeff > | A1 |
Numeric | prev_input |
Template Class for IIR Filter using 2 1st order sections.
The filter is a combination of 2 Allpass sections of the form G(z) = (a*z*z + 1)/(z*z+a) so that the overall H(z) is H(z) = 1/z*G(z,a0) + G(z,a1) The combination of these two allpass functions result in a lowpass/highpass complementary pair. The class only uses the low pass filter. This class needs the allpass_1 class
|
inline |
|
inline |
References SPUC::elliptic_allpass(), SPUC::allpass_1< Numeric, Coeff >::init(), and SPUC::iir_allpass1< Numeric, Coeff >::reset().
|
inline |
Shift inputs by one time sample and place new sample into array.
References SPUC::allpass_1< Numeric, Coeff >::clock(), and SPUC::round().
|
inline |
reset
References SPUC::allpass_1< Numeric, Coeff >::reset().
Referenced by SPUC::iir_allpass1< Numeric, Coeff >::iir_allpass1().
|
protected |
|
protected |
|
protected |
The 2 1st order allpass filters.
|
protected |