SPUC
3.0
|
#include <iir_allpass_variable_cascade.h>
Public Member Functions | |
iir_allpass_variable_cascade (float_type fp=0, int n=1, int dly=2, int coeff_bits=0) | |
n = Filter stages More... | |
void | set_coeffs (float_type fp, int n=1, int dly=2, int coeff_bits=0) |
n = Filter stages More... | |
Coeff | get_a0 (int i) |
Coeff | get_a1 (int i) |
~iir_allpass_variable_cascade () | |
Destructor. More... | |
void | reset () |
Reset history. More... | |
void | set_hpf (bool h) |
Numeric | clock (Numeric input) |
Clock in sample and get output. More... | |
Numeric | get_hp_out () |
Clock in sample and get output. More... | |
Public Attributes | |
long | stages |
allpass< Numeric, Coeff > | A0 |
allpass< Numeric, Coeff > | A1 |
circ_buffer< Numeric > | prev_input |
bool | hpf |
Numeric | out0 |
Numeric | out1 |
This is a halfband IIR filter with two branches of cascades of 1st order allpass sections
|
inline |
n = Filter stages
References SPUC::elliptic_allpass(), SPUC::allpass< Numeric, Coeff >::init(), SPUC::circ_buffer< T >::set_size(), and SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::stages.
|
inline |
Destructor.
|
inline |
Clock in sample and get output.
References SPUC::allpass< Numeric, Coeff >::clock(), SPUC::circ_buffer< T >::input(), SPUC::circ_buffer< T >::last(), and SPUC::round().
Referenced by main().
|
inline |
References SPUC::allpass< Numeric, Coeff >::ap.
|
inline |
References SPUC::allpass< Numeric, Coeff >::ap.
|
inline |
|
inline |
Reset history.
References SPUC::allpass< Numeric, Coeff >::reset(), and SPUC::circ_buffer< T >::reset().
|
inline |
n = Filter stages
References SPUC::elliptic_allpass(), SPUC::allpass< Numeric, Coeff >::init(), SPUC::circ_buffer< T >::reset(), SPUC::circ_buffer< T >::set_size(), and SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::stages.
Referenced by main().
|
inline |
allpass< Numeric,Coeff > SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::A0 |
allpass< Numeric,Coeff > SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::A1 |
bool SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::hpf |
Numeric SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::out0 |
Numeric SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::out1 |
circ_buffer<Numeric> SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::prev_input |
long SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::stages |