pvsmorphSpectral Processing:Streamingpvsmorphpvsmorph
Performs morphing (or interpolation) between two source fsigs.
Description
Performs morphing (or interpolation) between two source fsigs.
Syntaxfsig pvsmorph fsig1, fsig2, kampint, kfrqintPerformance
The operation of this opcode is similar to that of pvinterp (q.v.),
except in using fsigs rather than analysis files, and the absence of spectral envelope preservation.
The amplitudes and frequencies of fsig1 are interpolated with those of fsig2,
depending on the values of kampint and kfrqint, respectively. These range
between 0 and 1, where 0 means fsig1 and 1, fsig2. Anything in between will
interpolate amps and/or freqs of the two fsigs.
With this opcode, morphing can be performed on real-time audio input, by using
pvsanal to generate fsig1 and fsig2.
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 pvsmorph opcode. It uses the file pvsmorph.csd.
Example of the pvsmorph opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.
Here is another example of the pvsmorph opcode. It uses the file pvsmorph2.csd.
Example of the pvsmorph 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: &namevictor;April 2007
New in Csound 5.06