From b0df9a2fa56aaf0a93d410f708f71934158af538 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 16 Nov 2005 17:55:10 +0000 Subject: simplified ASCII/hex examples svn path=/trunk/; revision=3944 --- doc/pddp/makefilename-help.pd | 49 +++++++++++++++++++------------------------ 1 file changed, 22 insertions(+), 27 deletions(-) (limited to 'doc/pddp') diff --git a/doc/pddp/makefilename-help.pd b/doc/pddp/makefilename-help.pd index 6e889958..d7ed966f 100644 --- a/doc/pddp/makefilename-help.pd +++ b/doc/pddp/makefilename-help.pd @@ -1,10 +1,10 @@ -#N canvas 320 94 583 580 10; +#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 0; #X text 104 463 Pd Documentation Chapter 3.6 - doc/1.manual/x3.htm ; -#N canvas 282 108 629 644 More_Info 0; +#N canvas 135 30 504 632 More_Info 0; #X text 17 4 COMMON USES; #X text 15 577 INNOVATIVE USES; #X text 47 19 I believe that this object was developed first to allow @@ -176,11 +176,10 @@ in the area of performance to provide users with on-screen reporting the following examples - but always weight the pros and cons when incorporating 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 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 parsing abilities. For example \, you cannot use spaces or odd characters @@ -188,17 +187,12 @@ in the argument.; #X text 45 550 - non-printable ASCII characters show up as a little 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 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 backslash in front of them ( \, \; and backslash).; @@ -207,20 +201,21 @@ backslash in front of them ( \, \; and backslash).; %d or %X.; #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; #X connect 5 0 3 1; #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 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; #X text 25 8 Native Pd Objects; -- cgit v1.2.1