[PD] displaying long text in GEM
Patrice Colet
pat at mamalala.org
Sun Oct 7 02:58:16 CEST 2007
Mathieu Bouchard a écrit :
> On Sat, 6 Oct 2007, Patrice Colet wrote:
>
>> In relation with that topic, anyone has ever made a kind of 'text to
>> ascii decimal number' converter?
>
> There is plenty of that already in the pd-list archives.
>
> The trick is that you divide the number by 10, write the remainder (le
> reste de la division) plus 48, then if the main result of the division
> is nonzero, write it to the left of the digit that you just wrote.
That works greatly for numbers from 0 to 9 obviously, but not for
other glyphs than numbers, I might have not been clear enough in the
question.
The [any2string] external is doing exactly the job I want, it even work
with special characters.
More information about the Pd-list
mailing list