SPUC
3.0
|
Template Class for allpass filter consisting of several stages of 1st order allpass sections. More...
#include <allpass.h>
Public Member Functions | |
allpass (std::vector< Coeff > &design, int n) | |
ord = Filter order More... | |
Coeff | get_coefficient (int i) |
allpass (long n=1) | |
ord = Filter order More... | |
void | init (std::vector< Coeff > &design, int n, int d=2) |
~allpass () | |
Destructor. More... | |
void | reset () |
Reset history. More... | |
void | set_coeffs (std::vector< Coeff > &design, int d=2) |
Set 1st order ALLPASS coefficients. More... | |
Numeric | clock (Numeric in) |
Clock in sample and get output. More... | |
Public Attributes | |
long | stages |
std::vector< allpass_1 < Numeric, Coeff > > | ap |
Template Class for allpass filter consisting of several stages of 1st order allpass sections.
|
inline |
ord = Filter order
References SPUC::allpass< Numeric, Coeff >::set_coeffs().
|
inline |
ord = Filter order
|
inline |
Destructor.
|
inline |
Clock in sample and get output.
References SPUC::allpass< Numeric, Coeff >::stages.
Referenced by SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::clock(), and SPUC::iir_allpass1_cascade< Numeric, Coeff >::clock().
|
inline |
References SPUC::allpass< Numeric, Coeff >::get_coefficient().
Referenced by SPUC::allpass< Numeric, Coeff >::get_coefficient().
|
inline |
References SPUC::allpass< Numeric, Coeff >::set_coeffs().
Referenced by SPUC::iir_allpass1_cascade< Numeric, Coeff >::iir_allpass1_cascade(), SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::iir_allpass_variable_cascade(), SPUC::allpass< Numeric, Coeff >::set_coeffs(), SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::set_coeffs(), and SPUC::iir_allpass1_cascade< Numeric, Coeff >::set_coeffs().
|
inline |
Reset history.
References SPUC::allpass< Numeric, Coeff >::stages.
Referenced by SPUC::iir_allpass_variable_cascade< Numeric, Coeff >::reset(), and SPUC::iir_allpass1_cascade< Numeric, Coeff >::reset().
|
inline |
Set 1st order ALLPASS coefficients.
References SPUC::allpass< Numeric, Coeff >::init(), and SPUC::allpass< Numeric, Coeff >::stages.
Referenced by SPUC::allpass< Numeric, Coeff >::allpass(), and SPUC::allpass< Numeric, Coeff >::init().
std::vector<allpass_1<Numeric,Coeff> > SPUC::allpass< Numeric, Coeff >::ap |
long SPUC::allpass< Numeric, Coeff >::stages |