just in case, you didn't know the objectclass, there is a objectclass [key], which outputs a number, whenever a key is pressd. since you want to press only single keys, having to press enter after each keypress could be a pain.
however, if you decide to go for [key] instead of symbolatom, you use a table to look-up the numbers.
roman
On Tue, 2008-02-12 at 21:29 -0500, David F. Place wrote:
Dear Pd Friends:
I need to create a mapping from letters into numbers:
(A->1,a->1,B->2,b->2,...)
I want to be able to enter a letter into a symbol box and translate
it to the number. This will allow me to enter rehearsal letters
from parts that cue up a sequence to the right spot. I can think of
very unattractive ways to do this in Pd using select. Is there an
elegant way?Best Wishes, David
(---o-------o-o-o---o-o-o----( David F. Place mailto:d@vidplace.com
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de