On Nov 22, 2009, at 1:34 PM, Jonathan Wilkes wrote:



--- On Mon, 11/16/09, Mathieu Bouchard <ma...@artengine.ca> wrote:

From: Mathieu Bouchard <ma...@artengine.ca>
Subject: Re: [PD] Finding "$0" and dealing with it in messages
To: "Jonathan Wilkes" <jancs...@yahoo.com>
Cc: "Roman Haefeli" <reduzie...@yahoo.de>, "Phil Stone" <pkst...@ucdavis.edu >, pd-list@iem.at
Date: Monday, November 16, 2009, 8:59 PM
On Mon, 16 Nov 2009, Jonathan Wilkes
wrote:
--- On Mon, 11/16/09, Mathieu Bouchard <ma...@artengine.ca>
wrote:
It doesn't work for those selectors: bang symbol
list
Why do you say it doesn't work for list?

because it doesn't.

Well, if you send the message "list 7" to [symbol] it will output
"symbol list," when, according to all_about_data_types.pd, it ought to
output "symbol float."  Other than this, are there instances where
[symbol] doesn't work correctly with lists?

I think there are. Anytime I find something like that, I make an example patch and add it to SVN. I encourage others to add to this collection since they are quite helpful in thinking about how we can fix things to make them work easier:

https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/doc/additional/messageoddness

.hc

As far as I can tell you just need [route bang
symbol], two message boxes, and a [symbol] object.
There's no need to protect the message boxes because
whatever is coming out of inlet 0 and 1 of [route] is either
a bang or a symbol, both of which will trigger the msg box's
output without changing its content.

You are right, two [b] are extraneous. You still need [b]
to protect msgbox «symbol list» from [route list].

In light of what I wrote above, you'd actually need
[route bang symbol float] to correctly convert lists with one float
element.


-Jonathan


_ _ __ ___ _____ ________ _____________
_____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone:
+1.514.383.3801




_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


----------------------------------------------------------------------------

Access to computers should be unlimited and total.  - the hacker ethic



_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to