A newer version of Max is available. Click here to access the latest version of this document.

!/~

Signal division (inlets reversed)

Description

The !/~ object functions just like the /~ object, but the inlet order is reversed.

Note: Division is not a computationally efficient operation. The /~ object is optimized to multiply a signal coming into the right inlet by the reciprocal of either the initial argument or an int or float received in the left inlet. However, when two signals are connected, !/~ uses the significantly more inefficient division procedure.

Arguments

Name Type Opt Description
initial-divisor float or int opt Sets an initial value by which to divide the signal coming into the left inlet. If a signal is connected to the right inlet, the argument is ignored. If no argument is present, and no signal is connected to the right inlet, the initial value is 1 by default.

Messages

int input [int]
In left inlet: A number by which to divide the signal coming into the right inlet. If a signal is also connected to the left inlet, a float or int is ignored.

In right inlet: The number is divided by the signal coming into the left inlet. If a signal is also connected to the right inlet, a float or int is ignored.
float input [float]
In left inlet: A number by which to divide the signal coming into the right inlet. If a signal is also connected to the left inlet, a float or int is ignored.

In right inlet: The number is divided by the signal coming into the left inlet. If a signal is also connected to the right inlet, a float or int is ignored.
signal In left inlet: The signal is used as the divisor, to be divided into the signal coming into the right inlet, or the constant value received in the right inlet.

In right inlet: The signal is divided by a signal coming into the left inlet, or a constant value received in the left inlet.

Information for box attributes common to all objects

Output

signal: The ratio of the two inputs, i.e. the right input divided by the left input.

Examples

/~ with the inlets reversed

See Also

Name Description
*~ Multiply two signals