absdiff Reference

Compute the absolute difference between two inputs

absdiff

Inlets

Left Operand [number]

Performs the subtraction with the value currently stored.

Right Operand [number]

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

Outlets

Non-Negative Left - Right [number]

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

Performs the subtraction with the value currently stored.

in2 [number]

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
sub Subtract inputs