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

/~ Reference

Divide one signal by another

/~

Description

Use the /~ object is to multiply a signal coming into the left inlet by the reciprocal of either the initial argument or an int or float received in the right inlet.

Examples

It is more computationally efficient to use an equivalent multiplication when possible

Arguments

initial-divisor [number]

Optional

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.

Attributes

Common Box Attributes

Messages

int

Arguments

dividend/divisor [int]
In left inlet: The number is divided by the signal coming into the right inlet. If a signal is connected to both left and right inlets, a float or int connected to either inlet will be ignored.

In right inlet: A number by which to divide the signal coming into the left inlet. If a signal is connected to both left and right inlets, a float or int connected to either inlet will be ignored.

float

Arguments

dividend/divisor [float]
In left inlet: The number is divided by the signal coming into the right inlet. If a signal is connected to both left and right inlets, a float or int connected to either inlet will be ignored.

In right inlet: A number by which to divide the signal coming into the left inlet. If a signal is connected to both left and right inlets, a float or int connected to either inlet will be ignored.

signal

In left inlet: The signal is divided by a signal coming into the right inlet, or a constant value received in the right inlet. All signal inputs to a single inlet are summed. If a signal and number are both sent to the left inlet, the specified operation will be performed with those values.

In right inlet: The signal is used as the divisor, to be divided into the signal coming into the left inlet, or the constant value received in the left inlet. All signal inputs to a single inlet are summed.

Output

signal

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

See Also

Name Description
!/~
*~
%~