Csound Csound-dev Csound-tekno Search About

Chebyshev polynomials (was: Re: Distorsion)

Date1999-04-19 07:59
FromThomas Huber
SubjectChebyshev polynomials (was: Re: Distorsion)
> a little.  For band-limited distortion look into using Chebyshev polynomials
> (GEN13 & GEN14).  Also refer to my article in Csound magazine last month for

I tried to use these Chebychef polynomials. There were, however, many
problems:

Try this:

dummy orc:
sr=44100
kr=22050
ksmps=2
nchnls=1

endin


sco:
f1 0 1024 13 1 1 0 1 0.5 0.2


Then start csound without '-d' option (so that the table f1 will be
displayed).
Now look at the table. It has a huge DC-offset and its zero crossing
is not in the middle. When I want to make 'table3' based waveshaping,
I need to know the exact position of the zero crossing. The other thing
is I'd like to have the 'real polynom' instead of a table of it. How are
the coefficients calculated ? (maybe I should look at the source)