send
From Pdpedia
| {{{example_image}}} caption | |
| Description: | send a message to a named object |
|---|---|
| Abbreviation: | s |
| Library: | vanilla |
| Author(s): | Miller S. Puckette and others |
| Developer(s): | |
| Release version: | |
| Release date: | 2007 |
| Status: | active |
| Dependencies: | |
| License: | BSD |
| Website: | http://crca.ucsd.edu/~msp/software.html |
| Programming Language: | |
| Platform(s): | GNU/Linux, Mac OS X, Windows |
| Language: | English |
| Data type(s): | message |
| Distribution(s): | DesireData, PDa, Pd-extended, Pd-vanilla, puredata debian package, pure:dyne |
Native Pd Objects
- SEND MESSAGES WITHOUT PATCH CORDS - abbreviation:
SEND USING [SEND] OR MESSAGE? DYNAMIC SEND?
INLETS:
None. Data can be inputted to the [receive] object using the [send] object or by creating a Pd 'send' command in a message box. The [receive] object accepts any atom type as input.
Consider this:
One - [send] accepts a single argument (text, not numbers) which is a 'name'. A [send] object corresponds to all [receive] objects of the same name.
ARGUMENTS:
Now consider this:
Externals and other object libraries
OUTLETS:
None - sends messages to a corresponding [receive] of the same name.
[streamout~]
[send13~]
[sendlocal]
[dist]
[sendOSC]
EXAMPLES:
In this example, the message box contains a Pd command which effectively sends the value of the variable ($1) to either 'dave' or 'hans'.
[shoutcast~]
[netdist]
[system]
And to complicate things a little more, and offer some interesting functionality, consider the following:
with creation argument
doc/1.manual/x2.htm
SEE ALSO:
In this example, I have created a single routine which acts as a 'dynamic' send object. The variable ($1) in this message box is replaced by the incoming 'symbol'.
doc/1.manual/x5.htm
doc/2.control.examples/09.send_receive.pd
doc/2.control.examples/10.more.messages.pd
doc/2.control.examples/11.review.pd
doc/2.control.examples/13.locality.pd
doc/5.reference/help-message.pd
There is a lot of information available about [send] and [receive], but that means there's lots to know! Open the abstraction below to learn more...
- Dave Sabine, September 12, 2003
[remote]
Contents |

