[PD] separate individual letters

Martin Peach martin.peach at sympatico.ca
Thu Aug 21 17:28:45 CEST 2008



glerm soares wrote:
>
>I was trying to figure out how is the best way to separate individual
>letters in a textfile parsed by puredata.
>This is for generate real time bytes for an alphanumeric display.
>
>is something that I can do directly from keyboard this way:
>
>[key] (entry "abc 123" )
>|
>[prepend add2]
>|
>[97 98 99 32 49 50 51]
>
>*BUT in the exemple:
>
>[abc 123] -> entry inside a symbol
>|
>|
>[pd thisparser]
>|
>|
>[97 98 99 32 49 50 51]
>
>how could I separate the characters and convert them individually to ascii
>code inside the parser?

[moocow/any2string] outputs symbols as lists of ascii numbers. If your 
display is a hardware thingy on a serial port you can use the [print( 
message with [comport] to send the symbol as ascii.

Martin






More information about the Pd-list mailing list