SPUC
3.0
|
Template class for 1st order allpass filter with programmble gain and delay. More...
#include <allpass_1.h>
Public Member Functions | |
allpass_1 (Coeff Gain=0, long s=1, long b=0) | |
Constructor with gain and delay. More... | |
Coeff | get_coefficient (void) |
void | reset () |
Reset. More... | |
void | set_gain (Coeff Gain) |
void | init (Coeff &Gain, long s) |
Initializes gain and delay. More... | |
Numeric | clock (Numeric input) |
Shift inputs by one time sample and place new sample into array. More... | |
Protected Types | |
typedef mixed_type< Numeric, Coeff >::dtype | sum_type |
Protected Attributes | |
long | size |
number of unit sample delays More... | |
long | round_bits |
float_type | gain |
circ_buffer< Numeric > | mult |
circ_buffer< Numeric > | sum |
quantiser< Numeric > | Q |
Template class for 1st order allpass filter with programmble gain and delay.
Template class for 1st-order Allpass filter. The filter is a "first-order" Allpass section of the form G(z,n) = (a*z^n + 1)/(z^n+a) The delay n can be specified
|
protected |
|
inline |
Constructor with gain and delay.
|
inline |
Shift inputs by one time sample and place new sample into array.
Referenced by SPUC::nested_iir_allpass_tmp< Numeric, Coeff >::clock(), SPUC::notch_comb< Numeric, Coeff >::clock(), SPUC::iir_delay_allpass1< Numeric, Coeff >::clock(), SPUC::nested_allpass_1< Numeric, Coeff >::clock(), SPUC::iir_allpass1_halfband< SPUC::complex< CNumeric > >::clock(), SPUC::iir_allpass1< Numeric, Coeff >::clock(), SPUC::shelf_allpass1< Numeric, Coeff >::clock(), SPUC::nested_shelf_allpass_2< Numeric, Coeff >::clock(), and SPUC::nested_iir_allpass_2< Numeric, Coeff >::clock().
|
inline |
|
inline |
Initializes gain and delay.
Referenced by SPUC::nested_shelf_allpass_2< Numeric, Coeff >::change(), SPUC::nested_iir_allpass_2< Numeric, Coeff >::change(), SPUC::iir_allpass1< Numeric, Coeff >::iir_allpass1(), SPUC::nested_shelf_allpass_2< Numeric, Coeff >::init(), SPUC::nested_allpass_1< Numeric, Coeff >::init(), SPUC::nested_iir_allpass_2< Numeric, Coeff >::init(), SPUC::notch_comb< Numeric, Coeff >::set_coeffs(), and SPUC::shelf_allpass1< Numeric, Coeff >::set_coeffs().
|
inline |
Reset.
Referenced by SPUC::nested_iir_allpass_tmp< Numeric, Coeff >::reset(), SPUC::notch_comb< Numeric, Coeff >::reset(), SPUC::nested_shelf_allpass_2< Numeric, Coeff >::reset(), SPUC::nested_allpass_1< Numeric, Coeff >::reset(), SPUC::iir_delay_allpass1< Numeric, Coeff >::reset(), SPUC::nested_iir_allpass_2< Numeric, Coeff >::reset(), SPUC::iir_allpass1_halfband< SPUC::complex< CNumeric > >::reset(), SPUC::iir_allpass1< Numeric, Coeff >::reset(), and SPUC::shelf_allpass1< Numeric, Coeff >::reset().
|
inline |
|
protected |
|
protected |
|
protected |
Referenced by SPUC::allpass_1< Numeric >::clock().
|
protected |
|
protected |
number of unit sample delays
|
protected |