[LAD] Harmonic generator and transfer function

Andrew Gaydenko a at gaydenko.com
Wed Dec 1 10:16:07 UTC 2010

On Wednesday, December 01, 2010 02:46:10 fons at kokkinizita.net wrote:
> On Wed, Dec 01, 2010 at 10:33:17AM +1100, Erik de Castro Lopo wrote:
> > and there is a way to calculate the required polynomial P
> > using Chebyshev polynomials.
> Or even better: evaluate the Chebyshev polynomials directly on
> the signal (this avoids loss of precision due to cancellation of
> large nearly equal terms).

I need just

Vout = Vin(a0 + a1*Vin + a2*Vin^2 + ... + aN*Vin^N)

for given a0,..aN with limited N (a1..aN abs will be < 0.1). Say, we just 
recalculat samples' amplitudes directly. Is there any caveats in such direct 
transforming? And why do I need to use another (Chebyshev polynomials) way? 
Will I get HF hum? Please, direct my nose to an approriate reading! :-)


More information about the Linux-audio-dev mailing list