SPUC  3.0
Public Member Functions | Protected Attributes | List of all members
SPUC::iir_comb< Numeric, Coeff > Class Template Reference

Template for IIR comb type filter with programmable delay and gain. More...

#include <iir_comb.h>

Collaboration diagram for SPUC::iir_comb< Numeric, Coeff >:
Collaboration graph
[legend]

Public Member Functions

 iir_comb (Coeff A=0, long delay=2, long b=0)
 
void init (Coeff A, long delay)
 
void set_coeff (Coeff A)
 
Numeric clock (Numeric input)
 Input new sample and calculate output. More...
 
void reset ()
 Reset. More...
 

Protected Attributes

Coeff acc_gain
 
Coeff in_gain
 
Numeric out
 
delay< Numeric > dly
 
long delay_size
 
Numeric previous_out
 
Numeric previous_in
 
quantiser< Numeric > Q
 

Detailed Description

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

Template for IIR comb type filter with programmable delay and gain.

Author
Tony Kirke
iir_comb.png

Constructor & Destructor Documentation

template<class Numeric , class Coeff = float_type>
SPUC::iir_comb< Numeric, Coeff >::iir_comb ( Coeff  A = 0,
long  delay = 2,
long  b = 0 
)
inline

References SPUC::delay< Numeric >::set_size().

Here is the call graph for this function:

Member Function Documentation

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

Input new sample and calculate output.

References SPUC::delay< Numeric >::input(), and SPUC::iir_comb< Numeric, Coeff >::Q.

Here is the call graph for this function:

template<class Numeric , class Coeff = float_type>
void SPUC::iir_comb< Numeric, Coeff >::init ( Coeff  A,
long  delay 
)
inline

References SPUC::delay< Numeric >::set_size().

Here is the call graph for this function:

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

Reset.

References SPUC::delay< Numeric >::reset().

Here is the call graph for this function:

template<class Numeric , class Coeff = float_type>
void SPUC::iir_comb< Numeric, Coeff >::set_coeff ( Coeff  A)
inline

Member Data Documentation

template<class Numeric , class Coeff = float_type>
Coeff SPUC::iir_comb< Numeric, Coeff >::acc_gain
protected
template<class Numeric , class Coeff = float_type>
long SPUC::iir_comb< Numeric, Coeff >::delay_size
protected
template<class Numeric , class Coeff = float_type>
delay<Numeric> SPUC::iir_comb< Numeric, Coeff >::dly
protected
template<class Numeric , class Coeff = float_type>
Coeff SPUC::iir_comb< Numeric, Coeff >::in_gain
protected
template<class Numeric , class Coeff = float_type>
Numeric SPUC::iir_comb< Numeric, Coeff >::out
protected
template<class Numeric , class Coeff = float_type>
Numeric SPUC::iir_comb< Numeric, Coeff >::previous_in
protected
template<class Numeric , class Coeff = float_type>
Numeric SPUC::iir_comb< Numeric, Coeff >::previous_out
protected
template<class Numeric , class Coeff = float_type>
quantiser<Numeric> SPUC::iir_comb< Numeric, Coeff >::Q
protected

The documentation for this class was generated from the following file: