phasewrap Reference

Wrap input values to the range -pi to pi

phasewrap

Inlets

Input [number]

Input to be wrapped.

Outlets

Wrapped Output [number]

The wrapped output around -pi to pi.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: 0)

All inlets trigger calculation.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [number]

Input to be wrapped.

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
wrap Wrap input to a range within an upper and lower bound
wrap~ Wrap input to a range within an upper and lower bound
sin Sine of the input
cos Cosine of the input
radtodeg The constant value used when converting from radians to degrees
degtorad The constant value used when converting from degrees to radians