GEN32GEN32GEN32
Mixes any waveform, resampled with either FFT or linear interpolation.
Description
This routine is similar to GEN31, but allows specifying source ftable for each partial. Tables can be resampled either with FFT, or linear interpolation.
Syntaxf # time size 32 srca pna stra phsa srcb pnb strb phsb ...Performancesrca, 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.
Example of the gen32 generator.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.CreditsAuthor: &namerasmus;Programmer: &nameistvan;New in version 4.17