Here's another example showing what I mean.
I couldn't test it with text3d right now,
("gem is compiled without font support")
but it should work.
I also don't know if [text2d] accepts [string ( but [text3d] does.
'asciify.pd', is an abstraction based on makefilename and list-find to get
the ascii values.
gr,
Tim

2011/8/22 tim vets <timv...@gmail.com>

> no problem.
> You may be able to do it character by character with [string $1 $2 $3 ...(
> .
> and also a suggestion: randomize the drip speed ;)
> gr,
> Tim
>
> 2011/8/21 Antonio Roberts <anto...@hellocatfood.com>
>
>> Thanks Tim Vets, it worked great. Here's what I created
>> http://www.youtube.com/watch?v=EOzDdYahsrs
>>
>> Ant
>>
>> On 21 August 2011 16:58, tim vets <timv...@gmail.com> wrote:
>> > You could use [add2 $1( to add letters to a [text ( message box and send
>> > that to text2d each time a letter is added.
>> > gr,
>> > Tim
>> >
>> > 2011/8/21 Antonio Roberts <anto...@hellocatfood.com>
>> >>
>> >> Is there a way to get a typewriter effect using pd i.e. have letters
>> >> appear one character at a time?
>> >>
>> >> I was thinking I could send the text to [text2d] using [drip] but that
>> >> just displays one character/word at a time.
>> >>
>> >> Cheers,
>> >>
>> >> Ant
>> >>
>> >> --
>> >> 07875 006 245
>> >> anto...@hellocatfood.com
>> >>
>> >> ============================
>> >> http://www.hellocatfood.com
>> >> ============================
>> >>
>> >> _______________________________________________
>> >> Pd-list@iem.at mailing list
>> >> UNSUBSCRIBE and account-management ->
>> >> http://lists.puredata.info/listinfo/pd-list
>> >
>> >
>>
>>
>>
>> --
>> 07875 006 245
>> anto...@hellocatfood.com
>>
>> ============================
>> http://www.hellocatfood.com
>> ============================
>>
>
>
#N canvas 181 94 632 367 10;
#X msg 75 219 string;
#X msg 75 194 add2 \$1;
#X obj 48 171 t b f;
#X msg 67 89 add2 \$1;
#X msg 48 125;
#X text 441 217 connect this to [text3d];
#X text 431 220 >;
#X msg 151 63 set;
#X obj 67 -14 s2l;
#X msg 82 -36 symbol;
#X obj 82 -57 loadbang;
#X symbolatom 48 -107 40 0 0 0 - - -;
#X obj 67 10 list-drip;
#X obj 67 39 sel _;
#X obj 94 64 asciify;
#X msg 67 64 32;
#X obj 48 -83 t b s b;
#X msg 184 64 set string;
#X obj 48 148 drip 200;
#X text 299 -105 type here;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 2 1 1 0;
#X connect 3 0 4 0;
#X connect 4 0 18 0;
#X connect 7 0 4 0;
#X connect 8 0 12 0;
#X connect 9 0 8 1;
#X connect 10 0 9 0;
#X connect 11 0 16 0;
#X connect 12 0 13 0;
#X connect 13 0 15 0;
#X connect 13 1 14 0;
#X connect 14 0 3 0;
#X connect 15 0 3 0;
#X connect 16 0 4 0;
#X connect 16 1 8 0;
#X connect 16 2 7 0;
#X connect 16 2 17 0;
#X connect 17 0 0 0;
#X connect 18 0 2 0;
#N canvas 64 37 519 396 10;
#X obj 25 280 list-find;
#X obj 104 158 makefilename %c;
#X obj 104 105 until;
#X obj 104 128 f;
#X obj 134 128 + 1;
#X obj 76 26 loadbang;
#X obj 25 26 inlet;
#X obj 76 253 list;
#X obj 104 223 list;
#X obj 104 193 list prepend;
#X obj 25 333 outlet;
#X text 28 361 2011 www.timvets.net;
#X obj 76 46 t b b b;
#X msg 135 80 0;
#X obj 25 308 + 1;
#X text 47 2 turns characters (symbols) into ascii values (floats)
;
#X msg 104 80 128;
#X connect 0 0 14 0;
#X connect 1 0 9 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 1 0;
#X connect 4 0 3 1;
#X connect 5 0 12 0;
#X connect 6 0 0 0;
#X connect 7 0 0 1;
#X connect 8 0 7 1;
#X connect 8 0 9 1;
#X connect 9 0 8 0;
#X connect 12 0 7 0;
#X connect 12 1 16 0;
#X connect 12 2 13 0;
#X connect 13 0 3 1;
#X connect 14 0 10 0;
#X connect 16 0 2 0;
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to