mc.receive~ Reference

Mutlichannel signals can be received from any loaded patcher, without patch cords

mc.receive~

Description

Use the mc.receive~ object to grab signals put out by mc.send~ or send~ objects and output them out its signal outlet.

Discussion

You can switch between all current mc.receive~ objects using the set message. To turn off the audio coming from a mc.receive~, use set with the name of a mc.send~ or send~ that doesn't currently exist.

Arguments

object-name [symbol]

Sets the name of the mc.receive~ object.

channel-count [int]

Optional

Sets how many channels mc.receive~ should output from mc.send~. Otherwise, default is (logical channel) 1. When working with send~, this argument is optional and unnecessary as there is only one channel of audio.

Attributes

Common Box Attributes

Messages

set

Arguments

object-name [symbol]
The word set, followed by a symbol, changes the name of the receive~ so that it connects to different mc.send~ or send~ objects that have the symbol as a name. If no mc.send~ or send~ objects exist with the name, the output of receive~ is 0.

signal

The mc.receive~ object receives signals from all mc.send~ or send~ objects that share its name. It adds together as many as are specified by channel-count (default channel 1 if unspecified) and sends the sum out its outlet. If no mc.send~ or send~ objects share the current name, the output of mc.receive~ is 0. The mc.send~ or send~ objects need not be in the same patch as the corresponding mc.receive~.

Output

signal

The combination of all signals coming into all mc.send~ or send~ objects with the same name as the mc.receive~.

See Also

Name Description
mc.send~
send~
receive~
MSP Basics Tutorial 4: Routing Signals MSP Basics Tutorial 4: Routing Signals