pvscrossSpectral Processing:Streamingpvscrosspvscross
Performs cross-synthesis between two source fsigs.
Description
Performs cross-synthesis between two source fsigs.
Syntaxfsig pvscross fsrc, fdest, kamp1, kamp2Performance
The operation of this opcode is identical to that of pvcross (q.v.), except in using fsigs rather than analysis files, and the absence of spectral envelope preservation. The amplitudes from fsrc and fdest (using scale factors kamp1 for fsrc and kamp2 for fdest) are applied to the frequencies of fsrc. kamp1 and kamp2 must not exceed the range 0 to 1.
With this opcode, cross-synthesis can be performed on real-time audio input, by using pvsanal to generate fsrc and fdest. These must have the same format.
It is unsafe to use the same f-variable for both input and output of pvs opcodes. Using the same one might lead to undefined behavior on some opcodes. Use a different one on the left and right sides of the opcode.
Examples
Here is an example of the use of the pvscross opcode. It uses the file pvscross.csd.
Example of the pvscross opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoTools for Real-time Spectral Processing (pvs opcodes)CreditsAuthor: &namerichard;August 2001 November 2003. Thanks to &namekanata;, fixed the link to the pvcross opcode.New in version 4.13