Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

pp::Filters::AllPass Class Template Reference

The equation used is: y[n] = (-g * x[n]) + x[n - D] + (g * y[n - D]). More...

#include <Filters.h>

Inheritance diagram for pp::Filters::AllPass

Inheritance graph
[legend]
Collaboration diagram for pp::Filters::AllPass:

Collaboration graph
[legend]
List of all members.

Public Methods

 AllPass (unsigned delay=10, float gain=0.5f)
virtual const char* GetName () const
void SetDelay (unsigned D)
void SetGain (float g)
unsigned GetDelay () const
float GetGain () const
operator() (const T& x)
double FrequencyResponse (float f)

Detailed Description

template<typename T = short> template class pp::Filters::AllPass

The equation used is: y[n] = (-g * x[n]) + x[n - D] + (g * y[n - D]).

Another implmentation I have seen uses y[n] = (-g * x[n]) + (1-g*g)*(x[n - D] + (g * y[n - D]))


The documentation for this class was generated from the following file:
Generated at Mon Nov 27 01:46:37 2000 for LibPenguinPlay by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000