Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SPUC::allpass_iir< Numeric > Class Template Reference
[IIR filters]

Template Class for 1st Order Allpass IIR filter. More...

#include <allpass_iir.h>

List of all members.

Public Member Functions

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

Protected Attributes

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


Detailed Description

template<class Numeric>
class SPUC::allpass_iir< Numeric >

Template Class for 1st Order Allpass IIR filter.

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


Constructor & Destructor Documentation

template<class Numeric>
SPUC::allpass_iir< Numeric >::allpass_iir Numeric  c0,
Numeric  c1,
long  delay = 2
[inline]
 


Member Function Documentation

template<class Numeric>
Numeric SPUC::allpass_iir< Numeric >::clock Numeric  input  )  [inline]
 

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

template<class Numeric>
void SPUC::allpass_iir< Numeric >::reset void   )  [inline]
 

Reset.


Member Data Documentation

template<class Numeric>
allpass_1<Numeric> SPUC::allpass_iir< Numeric >::A0 [protected]
 

template<class Numeric>
allpass_1<Numeric> SPUC::allpass_iir< Numeric >::A1 [protected]
 

template<class Numeric>
long SPUC::allpass_iir< Numeric >::delay_size [protected]
 

template<class Numeric>
delay<Numeric> SPUC::allpass_iir< Numeric >::dly [protected]
 


The documentation for this class was generated from the following file:
Generated on Fri Sep 16 11:08:26 2005 for spuc by  doxygen 1.4.4