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

minimum~

Compare two signals, output the minimum

Description

minimum~ outputs a signal which is the minimum of two input signals.

Arguments

Name Type Opt Description
initial-comparison-value float or int opt Sets an initial comparison value for the signal coming into the left inlet. If a signal is connected to the right inlet, the argument is ignored.

Messages

int comparison-value [int]
In right inlet: A number to be used for comparison with the signal coming into the left inlet. If a signal is also connected to the right inlet, a float or int is ignored.
float comparison-value [float]
In right inlet: A number to be used for comparison with 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 compared to a signal coming into the right inlet, or a constant value received in the right inlet. The lesser of the two values is sent out the outlet.

In right inlet: The signal is used for comparison with the signal coming into the left inlet.

Information for box attributes common to all objects

Output

signal: The lesser of the two signal values received in the left and right inlets is sent out.

Examples

Find the minimum of two signals

See Also

Name Description
<=~ Is less than or equal to, comparison of two signals
>~ Is greater than, comparison of two signals
>=~ Is greater than or equal to, comparison of two signals
==~ Is equal to, comparison of two signals
!=~ Not equal to, comparison of two signals
maximum~ Compare two signals, output the maximum