Thanx a lot Martin!
this object was exactly the magic word for this project. ;)
cheers
glerm
2008/8/21 Martin Peach martin.peach@sympatico.ca
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