Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
ChebyN< N, T > Struct Template Reference

Nth order Chebyshev transfer function. More...

#include <Effects.h>

List of all members.

Public Member Functions

operator() (T i0) const
 Returns filtered sample.
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 >
ChebyNset (const V *weights)
 Set harmonic amplitudes.
ChebyNzero ()
 Zero all harmonic amplitudes.

Public Attributes

c [N]
 Harmonic coefficients.

Detailed Description

template<unsigned N, class T = gam::real>
struct gam::ChebyN< N, T >

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.


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