route Reference

Select outlet based on input matching.

route

Examples

Inlets

input [list, number, bang]

Arguments can be a mix of numbers, lists, or bangs. The number of arguments determines the number of outlets, in addition to the rightmost outlet. Each argument assigns a name or a number to an outlet. If there is no argument, there is one other outlet, which is assigned the number 0.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

input [list, number, bang]

Arguments can be a mix of numbers, lists, or bangs. The number of arguments determines the number of outlets, in addition to the rightmost outlet. Each argument assigns a name or a number to an outlet. If there is no argument, there is one other outlet, which is assigned the number 0.

See Also

Name Description
routepass Select outlet based on input matching.
gate Pass an input to one of several outlets.
switch Accept messages from a specific inlet.