phasewrap~

Wrap a signal between "pi" and -"pi"

Description

phasewrap~ will simply take any input signal and wrap it between "pi" and -"pi" values.

Arguments

None.

Messages

signal The signal to be wrapped. If the input signal value exceeds "pi" (3.14159), the output signal value is "wrapped" to a range whose lower bound is -"pi" (-3.14159). Thus a signal of increasing value outputs a sawtooth waveform with -"pi" and "pi" as lower and upper values.

Information for box attributes common to all objects

Output

signal: The wrapped input signal value.

Examples

Use phasewrap~ to make sure that signals stay within normal radial values

See Also

Name Description
cartopol~ Signal Cartesian to Polar coordinate conversion
pfft~ Spectral-processing manager for Patchers
pong~ Variable range signal folding
MSP Tutorial 26: Frequency Domain Signal Processing with pfft~ MSP Tutorial 26: Frequency Domain Signal Processing with pfft~