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

pi Reference

The constant value of pi

pi

Examples

Inlets

Control [number]

Non-zero values trigger the value of pi

Outlets

Pi [number]

The constant value of 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]

Non-zero values trigger the value of pi

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
PI_OVER_2 the constant value of pi/2
PI_OVER_4 The constant value of pi/4