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

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

Template class for 1st order allpass filter with programmble gain and delay. More...

#include <allpass_1.h>

Collaboration diagram for SPUC::allpass_1< Numeric >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 allpass_1 (Numeric Gain=0, long s=1)
 Constructor with gain and delay.
void reset ()
 Reset.
void init (Numeric Gain, long s)
 Initializes gain and delay.
Numeric clock (Numeric input)
 Shift inputs by one time sample and place new sample into array.

Protected Attributes

long size
 number of unit sample delays
Numeric gain
delay< Numeric > mult
delay< Numeric > sum

Detailed Description

template<class Numeric>
class SPUC::allpass_1< Numeric >

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

allpass_1.gif


Constructor & Destructor Documentation

template<class Numeric>
SPUC::allpass_1< Numeric >::allpass_1 Numeric  Gain = 0,
long  s = 1
[inline]
 

Constructor with gain and delay.


Member Function Documentation

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

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

template<class Numeric>
void SPUC::allpass_1< Numeric >::init Numeric  Gain,
long  s
[inline]
 

Initializes gain and delay.

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

Reset.


Member Data Documentation

template<class Numeric>
Numeric SPUC::allpass_1< Numeric >::gain [protected]
 

template<class Numeric>
delay<Numeric> SPUC::allpass_1< Numeric >::mult [protected]
 

template<class Numeric>
long SPUC::allpass_1< Numeric >::size [protected]
 

number of unit sample delays

template<class Numeric>
delay<Numeric> SPUC::allpass_1< Numeric >::sum [protected]
 


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