A newer version of Max is available. Click here to access the latest version of this document.

receive~

Signals can be received from any loaded patcher, without patch cords

Description

receive~ grabs signals put out by send~ objects and outputs them out its signal outlet. You can switch between all current receive~ objects using the set message. To turn off the audio coming from a receive~, use set with the name of a send~ that doesn't currently exist.

Arguments

Name Type Opt Description
object-name symbol Obligatory. Sets the name of the receive~ object.

Messages

set object-name [symbol]
The word set, followed by a symbol, changes the name of the receive~ so that it connects to different send~ objects that have the symbol as a name. If no send~ objects exist with the name, the output of receive~ is 0.
signal The receive~ object receives signals from all send~ objects that share its name. It adds them together and sends the sum out its outlet. If no send~ objects share the current name, the output of receive~ is 0. The send~ objects need not be in the same patch as the corresponding receive~.

Information for box attributes common to all objects

Output

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

Examples

Signals can be received from any loaded patcher without patch cords

See Also

Name Description
send~ Transmit signals without patch cords
MSP Tutorial 4: Routing Signals MSP Tutorial 4: Routing Signals