cross2Signal Modifiers:Convolution and Morphingcross2cross2
Cross synthesis using FFT's.
Description
This is an implementation of cross synthesis using FFT's.
Syntaxares cross2 ain1, ain2, isize, ioverlap, iwin, kbiasInitializationisize -- This is the size of the FFT to be performed. The larger the size the better the frequency response but a sloppy time response.
ioverlap -- This is the overlap factor of the FFT's, must be a power of two. The best settings are 2 and 4. A big overlap takes a long time to compile.
iwin -- This is the function table that contains the window to be used in the analysis. One can use the GEN20 routine to create this window.
Performanceain1 -- The stimulus sound. Must have high frequencies for best results.
ain2 -- The modulating sound. Must have a moving frequency response (like speech) for best results.
kbias -- The amount of cross synthesis. 1 is the normal, 0 is no cross synthesis.
Examples
Here is an example of the cross2 opcode. It uses the file cross2.csd and beats.wav.
Example of the cross2 opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.CreditsAuthor: &nameparis;MIT, Cambridge1997Example written by &namekevin;.