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".

Arguments

Name Type Opt Description
object-name symbol Obligatory. Gives a name to the send object.

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 anywhere 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 message with other objects
Max Tutorial 16: Remote Messaging Max Tutorial 16: Remote Messaging