mc.route Reference

Direct output of messages based on an index received

mc.route

Description

The mc.route objects works with the non-signal output of objects such as mc.snapshot~, mc.peakamp~, poly~ and mc.poly~ (when non-signal outputs are used). These objects precede non-signal output with a voice index identifying the channel or patcher instance that produced the value. mc.route can use this index to direct the value to an outlet.

Examples

Arguments

Outlets [int]

Optional

The argument specifies the number of outlets the mc.route object will have. This determines the number of voices it supports.

Attributes

Common Box Attributes

Messages

bang

In left inlet: Repeated to the outlet specified by the voice index.

int

In left inlet: Repeated to the outlet specified by the voice index.

In right inlet: Sets the voice index for routing subsequent messages received in the left inlet.

float

In left inlet: Repeated to the outlet specified by the voice index.

In right inlet: Converted to int, sets the voice index for routing subsequent messages received in the left inlet.

list

In left inlet: Repeated to the outlet specified by the voice index.

anything

In left inlet: Repeated to the outlet specified by the voice index.

voice

Arguments

index [int]
In right inlet: The word voice, followed by a number, sets the voice index for routing subsequent messages received in the left inlet.

See Also

Name Description
MC MC
mc.target
mc.makelist
Event-handling with MC Event-handling with MC
New MC Event Objects New MC Event Objects