RNBO Objects & Operators div
Open Help

div

Divide inputs

Inlets

Left Operand [number]

The value is divided by the value in the right inlet, and the result is sent out the outlet.

Right Operand [number]

The value is stored as the divisor (the number to be divided into the number in the left inlet).

Outlets

Left / Right [number]

The divided output

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 is divided by the value in the right inlet, and the result is sent out the outlet.

in2 [number]

The value is stored as the divisor (the number to be divided into the number in the left inlet).

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
mul Multiply two inputs
add Add inputs
sub Subtract inputs
mul Multiply two inputs