gen25 - make a window function
makegen(table_number, 25, table_size, window_type)
Call makegen from a script with a function_type of 25 to
make a window function, for use in FFT analysis or as a grain envelope.
NOTE: Much of the functionality of gen 25 has been
duplicated and extended by the
"window"
table-type in
maketable
and the new (in RTcmix 4.0) table-handle scheme.
- table_number
-
The numeric ID for the function table.
Normally the table will be rescaled to fit between -1 and 1.
Put a negative sign before the number to prevent this.
- table_size
-
The size of the function table: how many values it stores.
- window_type
-
A code indicating which type of window function to draw:
-
Hanning window
-
Hamming window
makegen