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

halfpi Reference

The constant value of pi/2

halfpi

Examples

Inlets

Control [number]

Non-zero values trigger the value of pi/2

Outlets

Pi/2 [number]

The constant value of pi/2

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/2

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
pi The constant value of pi
PI_OVER_4 The constant value of pi/4