Open Help
sub
Subtract inputs
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
Left - Right [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]
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 |
---|---|
add | Add inputs |
div | Divide inputs |
mul | Multiply two inputs |