add Reference

Add inputs

add

Inlets

Left Operand [number]

Set the left inlet value to add

Right Operand [number]

Set the value in the right inlet to add

Outlets

Left + Right [number]

The summed output from the two 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]

Set the left inlet value to add

in2 [number]

Set the value in the right inlet to add

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
add~ Add inputs
div Divide inputs
sub Subtract inputs
mul Multiply two inputs