vpsSignal Modifiers: Phase Shapingvpsvps
Shapes a phase signal according to a two-dimensional vector.
Description
Vector phase shaping modifies a phase input value by mapping an
input, in the range [0, 1) according to a non-linear function
consisting of two piecewise linear segments joined at an
inflection point. This is defined by the vector [kd, kv],
where kd is in the range [0, 1) and kv can have any value.
Syntaxavp vps aph,kd,kvPerformanceavp -- output phase.
aph -- input phase (as produced by phasor).
kd -- horizontal vector component.
aph -- vertical vector component.
Examples
Here is an example of the use of the vps opcode. It uses the file vps.csd.
Example of the vps opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoPhase DistortionCreditsAuthor: Victor LazzariniJuly 2020