On Feb 12, 2008, at 11:51 PM, marius schebella wrote: > you could use msgfile from zexy and write your transaltions into a > textfile > a 1; > b 2; > c 3; > ... > and then > [r letter] > | > [rewind, find $1( > | > [msgfile] > | > [$2( > | > [s number] > > pool (thomas grill) also has dictionary lookup features. but I am > not sure if any of these solutions is more elegant then select, and > select is quite fast. how many letters do you have? > marius.
Thanks. I prefer to stick with vanilla Pd to make it easier to port. Select will certainly work. I have to translate 50 letters ('I' is never used as a rehearsal letter), so it is quite an ugly patch. > > 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:[EMAIL PROTECTED] >> _______________________________________________ >> PD-list@iem.at mailing list >> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ >> listinfo/pd-list > ___________________ (---o-------o-o-o---o-o-o----( David F. Place mailto:[EMAIL PROTECTED] _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list