RNBO Objects & Operators route
Open Help

route

Select outlet based on input matching.

Description

Tries to match a message's first argument to the route object's own arguments. The rightmost outlet passes any message that matched no other choice, so you may gang route objects to get more choices.

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.