Re: [LAD] Harmonic generator and transfer function

From: Erik de Castro Lopo <mle+la@email-addr-hidden-nerd.com>
Date: Wed Dec 01 2010 - 01:33:17 EET

Andrew Gaydenko wrote:

> How does Steve Harris' Harmonic generator LADSPA plugin work? I mean relation
> between controls (concrete harmonics levels) and transfer function
>
> Vout = Vin(1 + a*Vin + b*Vin^2 + ...)

This can be done with waveshaping.

If your source is a sinewave you can run it's samples, x [n],
through a polynomial function:

     y [n] = P (x [n])

and there is a way to calculate the required polynomial P
using Chebyshev polynomials.

I suspect that if you google for "waveshaping chebyshev" you
will find a more complete exposition than what I can drag up
from the depths of my memory.

Erik

-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Wed Dec 1 04:15:01 2010

This archive was generated by hypermail 2.1.8 : Wed Dec 01 2010 - 04:15:02 EET