Update of /cvsroot/pure-data/doc/pddp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8699
Modified Files: makefilename-help.pd Log Message: simplified ASCII/hex examples
Index: makefilename-help.pd =================================================================== RCS file: /cvsroot/pure-data/doc/pddp/makefilename-help.pd,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** makefilename-help.pd 16 Nov 2005 01:19:30 -0000 1.3 --- makefilename-help.pd 16 Nov 2005 17:55:10 -0000 1.4 *************** *** 1,3 **** ! #N canvas 320 94 583 580 10; #X obj 104 539 pddp; #X obj 8 8 cnv 15 90 553 empty empty empty 20 12 0 14 -233017 -66577 --- 1,3 ---- ! #N canvas 320 94 591 588 10; #X obj 104 539 pddp; #X obj 8 8 cnv 15 90 553 empty empty empty 20 12 0 14 -233017 -66577 *************** *** 5,9 **** #X text 104 463 Pd Documentation Chapter 3.6 - doc/1.manual/x3.htm ; ! #N canvas 282 108 629 644 More_Info 0; #X text 17 4 COMMON USES; #X text 15 577 INNOVATIVE USES; --- 5,9 ---- #X text 104 463 Pd Documentation Chapter 3.6 - doc/1.manual/x3.htm ; ! #N canvas 135 30 504 632 More_Info 0; #X text 17 4 COMMON USES; #X text 15 577 INNOVATIVE USES; *************** *** 177,185 **** these types of interfaces. Performance vs. Usability.; #X restore 298 605 pd help_with_interfaces; ! #X symbolatom 126 355 0 0 0 0 - - -; ! #X obj 53 273 hsl 150 18 0 127 0 1 empty empty ASCII_range 2 9 1 12 ! -262131 -1 -1 12700 0; ! #X floatatom 95 357 3 0 0 0 - - -; ! #X obj 120 316 int; #X text 45 488 - only one printf pattern can be used at once; #X text 45 445 - This object does not provide advanced formatting and --- 177,184 ---- these types of interfaces. Performance vs. Usability.; #X restore 298 605 pd help_with_interfaces; ! #X symbolatom 86 345 0 0 0 0 - - -; ! #X obj 90 296 hsl 150 18 0 122 0 1 empty empty ASCII_range 2 9 1 12 ! -262131 -1 -1 0 0; ! #X floatatom 45 347 5 0 0 0 - - -; #X text 45 488 - only one printf pattern can be used at once; #X text 45 445 - This object does not provide advanced formatting and *************** *** 189,203 **** box.; #X text 22 209 CONVERSIONS; ! #X text 40 225 The %c pattern allows you to convert ASCII numbers to ! the respective character. The %X converts the decimal number to hexadecimal. ! ; ! #X symbolatom 329 352 10 0 0 0 - - -; ! #X obj 332 270 hsl 150 18 0 255 0 1 empty empty 0_to_FF 2 9 1 12 -262131 ! -1 -1 11700 0; ! #X obj 329 330 makefilename hex=%X; ! #X floatatom 294 352 3 0 0 0 - - -; ! #X obj 328 302 int; ! #X obj 126 335 makefilename ASCII=%c; ! #X obj 50 295 sel 123 125; #X text 44 378 Watch out! ASCII characters 123 and 125 (curly braces) lock up Pd. Also , reserved characters that Pd uses show up with a --- 188,197 ---- box.; #X text 22 209 CONVERSIONS; ! #X symbolatom 299 345 0 0 0 0 - - -; ! #X obj 303 296 hsl 150 18 0 255 0 1 empty empty 0_to_FF 2 9 1 12 -262131 ! -1 -1 6000 0; ! #X obj 299 325 makefilename hex=%X; ! #X floatatom 258 347 5 0 0 0 - - -; ! #X obj 86 325 makefilename ASCII=%c; #X text 44 378 Watch out! ASCII characters 123 and 125 (curly braces) lock up Pd. Also , reserved characters that Pd uses show up with a *************** *** 208,211 **** --- 202,209 ---- #X text 47 187 This file name could be used when saving the audio to disk.; + #X text 35 222 The %c pattern allows you to convert ASCII numbers to + the respective character. The %X converts the decimal number to hexadecimal. + Both %c and %X only use integers. For floats , everything to the right + of the decimal is discarded.; #X connect 3 0 5 0; #X connect 3 0 6 0; *************** *** 213,225 **** #X connect 6 0 4 0; #X connect 9 0 3 0; ! #X connect 12 0 26 0; ! #X connect 14 0 13 0; ! #X connect 14 0 25 0; ! #X connect 21 0 24 0; ! #X connect 22 0 20 0; ! #X connect 24 0 22 0; ! #X connect 24 0 23 0; ! #X connect 25 0 11 0; ! #X connect 26 2 14 0; #X restore 104 513 pd More_Info; #N canvas 85 22 397 246 Related_Objects 0; --- 211,220 ---- #X connect 6 0 4 0; #X connect 9 0 3 0; ! #X connect 12 0 22 0; ! #X connect 12 0 13 0; ! #X connect 19 0 20 0; ! #X connect 19 0 21 0; ! #X connect 20 0 18 0; ! #X connect 22 0 11 0; #X restore 104 513 pd More_Info; #N canvas 85 22 397 246 Related_Objects 0;