SPUC::iir_delay_allpass1< Numeric, Coeff > Class Template Reference
[SPUC double templatesIIR filters]

Template Class for IIR filter consisting of 2 1st Order Allpass sections. More...

#include <iir_delay_allpass1.h>

List of all members.

Public Member Functions

 iir_delay_allpass1 (Coeff c0, Coeff c1, long delay=2, long round_bits=0)
void reset ()
 Reset.
Numeric clock (Numeric input)
 Shift inputs by one time sample and place new sample into array.

Protected Attributes

allpass_1< Numeric, Coeff > A0
allpass_1< Numeric, Coeff > A1
delay< Numeric > dly
long delay_size


Detailed Description

template<class Numeric, class Coeff = float_type>
class SPUC::iir_delay_allpass1< Numeric, Coeff >

Template Class for IIR filter consisting of 2 1st Order Allpass 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

allpass_iir.gif
Author:
Tony Kirke


Constructor & Destructor Documentation

template<class Numeric, class Coeff = float_type>
SPUC::iir_delay_allpass1< Numeric, Coeff >::iir_delay_allpass1 ( Coeff  c0,
Coeff  c1,
long  delay = 2,
long  round_bits = 0 
) [inline]


Member Function Documentation

template<class Numeric, class Coeff = float_type>
Numeric SPUC::iir_delay_allpass1< Numeric, Coeff >::clock ( Numeric  input  )  [inline]

Shift inputs by one time sample and place new sample into array.

template<class Numeric, class Coeff = float_type>
void SPUC::iir_delay_allpass1< Numeric, Coeff >::reset ( void   )  [inline]

Reset.


Member Data Documentation

template<class Numeric, class Coeff = float_type>
allpass_1<Numeric,Coeff> SPUC::iir_delay_allpass1< Numeric, Coeff >::A0 [protected]

template<class Numeric, class Coeff = float_type>
allpass_1<Numeric,Coeff> SPUC::iir_delay_allpass1< Numeric, Coeff >::A1 [protected]

template<class Numeric, class Coeff = float_type>
long SPUC::iir_delay_allpass1< Numeric, Coeff >::delay_size [protected]

template<class Numeric, class Coeff = float_type>
delay<Numeric> SPUC::iir_delay_allpass1< Numeric, Coeff >::dly [protected]


The documentation for this class was generated from the following file:
Generated on Mon Jun 9 19:40:43 2008 for DSPTemplates by  doxygen 1.4.7