[PD] Varying a "send" destination

Miller Puckette mpuckett at man104-1.ucsd.edu
Mon Jun 10 23:48:56 CEST 2002


Yep, you need a "message", not an "object".

cheers
Miller

On Mon, Jun 10, 2002 at 05:38:16PM -0400, Joseph Zitt wrote:
> On Mon, 2002-06-10 at 02:30, sme wrote:
> > hi,
> > the dynamically sending is done with a message beginning with a semicolon
> > (;). a semicolon changes the destination of a message to the symbol
> > following the semicolon:
> > [;fred 999(
> > would send the number 999 to the (receive-)object fred. the semicolons
> > clears the "current destination" (usually the outlet of the message objct)
> > and redirects messages to the object "fred". the destination must be a
> > symbol, ... with [pack s 0] you can go innto a message [;$1 $2( and the $1
> > will be replaced with the destination-symbol and the $2 with a float (or
> > what you will want to send).
> >
> 
> Hmmm.... when I try to create an object "; $1 $2" (also trying it with
> $1-r and $1r, with and without the space after the semicolon, and with
> and without explicitly putting that "(" after the "$2"), I get a
> "couldn't create" message in the console window. Am I misunderstanding
> something about the notation?
>  
> -- 
> | josephzitt at josephzitt.com                 http://www.josephzitt.com/ |
> | http://www.metatronpress.com/jzitt/   http://www.mp3.com/josephzitt/ |
> | == New book: Surprise Me with Beauty: the Music of Human Systems  == |
> | Comma / Gray Code             Silence: the John Cage Discussion List |
> 
> 



More information about the Pd-list mailing list