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

gtp Reference

Pass greater than operator

gtp

Examples

Inlets

Left Operand [number]

Left operand to be compared. Event version triggers comparison.

Right Operand [number]

Right operand to be compared. Event version must trigger the left inlet in order to perform comparison.

Outlets

Left > Right (Pass) [number]

Returns the left operand if the left input is greater than the right input. Returns 0 otherwise.

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]

Left operand to be compared. Event version triggers comparison.

in2 [number]

Right operand to be compared. Event version must trigger the left inlet in order to perform comparison.

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
ltp Pass less than operator
gtep Pass greater than or equals operator. Pass the left input if the condition is met.