GEN53GEN53GEN53
Creates a linear-phase or minimum-phase impulse response table
from a source table containing a frequency response or an
impulse response.
Description
GEN53 creates an impulse response function table with either a
linear-phase or a minimum-phase characteristic. The source for
this can either be a frequency response or an impulse response,
stored in an existing table. Optionally, another function table can be used to
window the input and/or the output of the process.
Syntaxf # time size 53 fsrc
[mode fwin]
fsrc - source function table. If this is an impulse response, the
size must match the created function table size. If a frequency
response is used, then the created function size needs to be twice
the size of this source. Power-of-two is required.
mode - optional, the operation mode, a sum of
(a) input, frequency response (0) or impulse respone (1); (b)
output, linear phase (0) or minimum-phase (2); (c) windowing,
none (0), input (4) and/or output (8). The default mode (0) is
frequency response input, linear-phase output, no windowing.
fwin - window function table, power-of-two size is required, but
does not need to match the created function table size.
Example
Here is a complete example of the GEN53 generator. It uses the file gen53.csd.
Example of the GEN53 generator.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.CreditsAuthor: &nameistvan;