trcrossSpectral Processing:Streamingtrcrosstrcross
Streaming partial track cross-synthesis.
Description
The trcross opcode takes two inputs containg TRACKS pv streaming signals (as generated,
for instance by partials) and cross-synthesises them into a single TRACKS stream. Two
different modes of operation are used: mode 0, cross-synthesis by multiplication of
the amplitudes of the two inputs and mode 1, cross-synthesis by the substititution of
the amplitudes of input 1 by the input 2. Frequencies and phases of input 1 are preserved
in the output. The cross-synthesis is done by matching tracks between the two inputs using
a 'search interval'. The matching algorithm will look for tracks in the second input that
are within the search interval around each track in the first input. This interval can be changed
at the control rate. Wider search intervals will find more matches.
Syntaxfsig trcross fin1, fin2, ksearch, kdepth [, kmode] Performancefsig -- output pv stream in TRACKS format
fin1 -- first input pv stream in TRACKS format.
fin2 -- second input pv stream in TRACKS format
ksearch -- search interval ratio, defining a 'search area'
around each track of 1st input for matching purposes.
kdepth -- depth of effect (0-1).
kmode -- mode of cross-synthesis. 0, multiplication
of amplitudes (filtering), 1, subsitution of amplitudes of input 1 by
input 2 (akin to vocoding). Defaults to 0.
Examples
Here is an example of the trcross opcode. It uses the file trcross.csd.
Example of the trcross opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.
The example above shows partial tracking of two ifd-analysis signals, cross-synthesis,
followed by the remix of the two parts of the spectrum and resynthesis.
See alsoTools for Real-time Spectral Processing (pvs opcodes)CreditsAuthor: &namevictor;February 2006 New in Csound 5.01