[PD] Finding "$0" and dealing with it in messages

Jonathan Wilkes jancsika at yahoo.com
Fri Dec 4 02:24:37 CET 2009



--- On Fri, 12/4/09, Mathieu Bouchard <matju at artengine.ca> wrote:

> From: Mathieu Bouchard <matju at artengine.ca>
> Subject: Re: [PD] Finding "$0" and dealing with it in messages
> To: "Jonathan Wilkes" <jancsika at yahoo.com>
> Cc: pd-list at iem.at
> Date: Friday, December 4, 2009, 1:51 AM
> On Wed, 25 Nov 2009, Jonathan Wilkes
> wrote:
> 
> > Currently, is there any way to get the selector of a
> message?
> > The [symbol]/[route] method mentioned earlier in this
> thread doesn't work
> > for [list( because [route] will convert it to a bang.
> > In the message
> > [list(
> > the selector is "list," right?
> 
> Yes, but it is cast by the pd kernel whenever the
> list-method is not defined, because then, they inherit the
> default list-method (pd_defaultlist), which turns every
> empty list to a bang.

Where does the conversion from, say, "list 12" to "float 12" happen 
in pd?  Is it left to each object to convert one-element lists to 
a symbol/float/pointer?

And getting back to the thread subject: if $0 in msg boxes was changed so 
that it expands to the selector of the incoming message, what would the 
following do:

[list 12(
|
[$0 1 2 3 4(

[list(
|
[$0 one two three(

-Jonathan


      




More information about the Pd-list mailing list