GEN32
Mixes any waveform, resampled with either FFT or linear interpolation.
This routine is similar to GEN31, but allows specifying source ftable for each partial. Tables can be resampled either with FFT, or linear interpolation.
Syntax
Performance
srca, srcb -- source table number. A negative value can be used to read the table with linear interpolation (by default, the source waveform is transposed and phase shifted using FFT); this is less accurate, but faster, and allows non-integer and negative partial numbers.
pna, pnb, ... -- partial number, must be a positive integer if source table number is positive (i.e. resample with FFT).
stra, strb, ... -- amplitude scale
phsa, phsb, ... -- start phase (0 to 1)
Examples
Here is an example of the GEN32 routine. It uses the file gen32.csd.
Credits
Author: Rasmus Ekman
Programmer: Istvan Varga
New in version 4.17