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

sub~ Reference

Subtract inputs

sub~

Inlets

Left Operand [auto]

Performs the subtraction with the value currently stored.

Right Operand [auto]

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

Outlets

Left - Right [signal]

The difference between the two numbers received in the inlets.

Dynamic Attributes

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

in1 [auto]

Performs the subtraction with the value currently stored.

in2 [auto]

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

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
add Add inputs
div Divide inputs
mul Multiply two inputs