[PD] Letter -> Number

Roman Haefeli reduzierer at yahoo.de
Wed Feb 13 10:52:30 CET 2008

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.


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 at vidplace.com
> _______________________________________________
> PD-list at 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

More information about the Pd-list mailing list