A newer version of Max is available. Click here to access the latest version of the documentation

phasewrap~ Reference

Wrap a signal between π and -π

phasewrap~

Description

phasewrap~ takes any input signal and wrap it between π and -π values.

Examples

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

Arguments

None.

Attributes

Common Box Attributes

Messages

signal

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

Output

signal

The wrapped input signal value.

See Also

Name Description
cartopol~
pfft~
pong~
MSP Analysis Tutorial 4: Signal Processing with pfft~ MSP Analysis Tutorial 4: Signal Processing with pfft~