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

rsub Reference

Reverse subtraction (subtract second input from first)

rsub

Inlets

Left Operand [number]

The value in the left inlet is subtracted from this value and the result is sent out the outlet.

Right Operand [number]

Performs the subtraction with the value currently stored.

Outlets

Right - Left [number]

The difference between the two numbers received in the inlets.

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]

The value in the left inlet is subtracted from this value and the result is sent out the outlet.

in2 [number]

Performs the subtraction with the value currently stored.

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
sub Subtract inputs