Nth order Chebyshev transfer function. More...
#include <Effects.h>
Public Member Functions | |
T | operator() (T i0) const |
Returns filtered sample. | |
T | wet (T i0) const |
Returns cosine overtones of sinusoidal input. | |
unsigned | size () const |
Get number of harmonics. | |
T & | coef (int i) |
Get reference to harmonic coefficient. | |
template<class V > | |
ChebyN & | set (const V *weights) |
Set harmonic amplitudes. | |
ChebyN & | zero () |
Zero all harmonic amplitudes. | |
Public Attributes | |
T | c [N] |
Harmonic coefficients. |
Nth order Chebyshev transfer function.
This filter applies a Chebyshev polynomial to generate the 2nd through Nth cosine harmonics of the input signal which is presumed to be a unity gain sinusoid.