mod~
Examples
Inlets
Left Operand [auto]
The value is divided by the value in the right inlet and the remainder is sent out the outlet.Right Operand [auto]
The value is stored as the divisor (the value to be divided into the value in the left inlet) for calculating the remainder.Outlets
Left % Right [signal]
The modulo outputDynamic Attributes
These attributes can be modified in the code during execution using the set object
in1 [auto]
The value is divided by the value in the right inlet and the remainder is sent out the outlet.
in2 [auto]
The value is stored as the divisor (the value to be divided into the value in the left inlet) for calculating the remainder.
reset [bang] (default: 0)
Reset inlets to default values.
See Also
Name | Description |
---|---|
rmod | Reverse modulo (divide two values, output the remainder) |
rmod~ | Reverse modulo (divide two values, output the remainder) |
mod~ | Divide two values, output the remainder |