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
[legend]Collaboration diagram for pp::Filters::AllPass:
[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 |
T | 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:
- /home/pcburns/c/penguinsound/include/PenguinSound/Filters.h
Generated at Mon Nov 27 01:46:37 2000 for LibPenguinPlay by
1.2.3 written by Dimitri van Heesch,
© 1997-2000