select
Description
Selectively outputs a
in response to any input which matches its arguments and will output non-matching messages out its right-most outlet.Examples

Arguments
selectors [anything]
The arguments can be a mix of ints, floats, or symbols. The number of arguments determines the number of outlets in addition to the rightmost outlet. If there is no argument, there is only one other outlet, which is assigned the integer number
.inlet [int]
If there is a single int argument (or if there are no arguments) a second inlet is created on the right. Numbers received in that inlet are stored in place of the argument. If there is more than one argument, or if the only argument is not an
, the right inlet is not created.Attributes
exact [int]8.1.2
When exact is set to 1, the select object performs float comparison. When set to 0, floats are ignored.
Common Box Attributes
Messages
bang
int
Arguments
Note: If an int is listed multiple times as an argument, a message will be sent out the leftmost outlet only.
(inlet1)
Arguments
float
Arguments
Note: If a float is listed multiple times as an argument, a message will be sent out the leftmost outlet only.
list
Arguments
anything
Arguments
symbol
Arguments
Output
anything
If the number or symbol received in the left inlet does not match any of the arguments, it is passed out the rightmost outlet.
bang
If the number or symbol received in the left inlet is the same as one of the arguments, a
is sent out the outlet that corresponds to that argument.See Also
Name | Description |
---|---|
MIDI | MIDI |
if | |
match | |
route | |
== |