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

send

Send messages without patch cords

Description

send will transmit given messages to receive objects which are named by the same argument and will allow you to send any kind of message between Patcher windows or within a window without using patch cords. The order of reception by two or more receive objects is not deterministic. A send object can be instantiated simply by typing into an object box the short-form letter "s".
Note: Communication between Max for Live devices using send and receive is supported, but there may be some latency involved when sending data between devices.

Arguments

Name Type Opt Description
object-name symbol Obligatory. Gives a name to the send object. All send objects that share the same name will send data to any receive objects that share their name.

For information about using named objects in Max for Live, click here.

Messages

bang Performs the same function as anything.
int input [int]
Performs the same function as anything.
float input [float]
Performs the same function as anything.
list input [list]
Performs the same function as anything.
anything input [list]
A message received in the inlet is sent out the outlet of any receive object that has the same name, even if the receive is in another loaded patch.
(mouse) Double-clicking on a send object opens all windows containing receive objects with the same name, and also lists the instance numbers of patches hosted in a poly~ object that share named receive objects.

Information for box attributes common to all objects

Output

anything: There are no outlets. A message received in the inlet of send is sent out the outlet of any receive with the same name, even if the receive is in another loaded patch.

Examples

Virtual connections exist between all send and receive objects that share the same name

See Also

Name Description
forward Send remote messages to a variety of objects
message Send any message
pattrforward Send any message to a named object in the patcher hierarchy
pv Share variables specific to a patch and its subpatches
pvar Connect to a named object in a patcher
receive Receive messages without patch cords
value Share a stored number with other objects
Max Basic Tutorial 16: Remote Messaging Max Basic Tutorial 16: Remote Messaging