NAME

gen17 - make a transfer function using Chebyshev polynomials


SYNOPSIS

makegen(table_number, 17, table_size, index, harmonic1, ... harmonicN)


DESCRIPTION

Call makegen from a script with a function_type of 17 to make a function table using Chebyshev polynomials. Use this kind of table as a transfer function with waveshaping instruments.

NOTE: Much of the functionality of gen 17 has been duplicated and extended by the "cheby" table-type in maketable and the new (in RTcmix 4.0) table-handle scheme.


ARGUMENTS

table_number
The numeric ID for the function table.

Unlike other gens, gen 17 never rescales the table to fit between -1 and 1.

table_size
The size of the function table: how many values it stores.

index
The index number of the Chebyshev polynomial to be solved.

harmonicN
The relative strength of harmonic N in a spectrum produced by waveshaping a sine wave with this transfer function.


EXAMPLES

   makegen(3, 17, 1000, 0.9, 0.3, -0.2, 0.6, -0.7)

solves a Chebyshev polynomial with an index of 0.9 and four harmonics.



SEE ALSO

makegen