diff options
author | N.N. <electrickery@users.sourceforge.net> | 2015-02-02 19:14:33 +0000 |
---|---|---|
committer | N.N. <electrickery@users.sourceforge.net> | 2015-02-02 19:14:33 +0000 |
commit | 4c1bcfd1857e4e5b25c5b3c9729d0422a8cce576 (patch) | |
tree | 8b84a15e5ed4d0245765b0762b78a538b7431584 /doc/help/cyclone/sprintf-help.pd | |
parent | f994b384f76aefdf25cbcadf8a12bfcf06cf87fd (diff) |
Reformatted and enhanced the cyclone help-patches.
svn path=/trunk/externals/miXed/; revision=17422
Diffstat (limited to 'doc/help/cyclone/sprintf-help.pd')
-rw-r--r-- | doc/help/cyclone/sprintf-help.pd | 102 |
1 files changed, 70 insertions, 32 deletions
diff --git a/doc/help/cyclone/sprintf-help.pd b/doc/help/cyclone/sprintf-help.pd index 9997643..23ccb7f 100644 --- a/doc/help/cyclone/sprintf-help.pd +++ b/doc/help/cyclone/sprintf-help.pd @@ -1,33 +1,71 @@ -#N canvas 0 26 449 325 10; -#X obj 4 4 cnv 15 400 40 empty empty empty 20 12 0 14 -262130 -66577 +#N canvas 623 81 559 407 10; +#X obj 1 381 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289 0; -#X text -17 281 docs based on the MAX/MSP reference (c) cycling'74 -; -#X text -18 295 ___________________________________________________ -; -#X obj -18 20 sprintf; -#X text 41 14 format a message of strings and numbers; -#X obj 162 145 sprintf foo%s-%d; -#X obj 162 177 print; -#X msg 162 101 -bar; -#X floatatom 269 77 5 0 0 0 - - -; -#X text 42 27 see the printf(3) manpage for details; -#X text -15 103 this is the 'hot' inlet; -#X text 282 144 arg is format string; -#N canvas 380 180 494 380 META 0; -#X text 12 175 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan -Wilkes for Pd-extended 0.42 to conform to the PDDP template.; -#X text 12 145 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html -; -#X text 12 45 DESCRIPTION format a message of strings and numbers; -#X text 12 5 KEYWORDS control conversion max_compatible anything_op -; -#X text 12 65 INLET_0 symbol float list; -#X text 12 85 INLET_1 float; -#X text 12 105 OUTLET_0 anything; -#X text 12 25 LICENSE SIBSD; -#X text 12 125 AUTHOR Krzysztof Czaja; -#X restore 379 304 pd META; -#X connect 5 0 6 0; -#X connect 7 0 5 0; -#X connect 8 0 5 1; +#X obj 0 212 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0 +; +#N canvas 607 187 366 205 META 0; +#X text 0 19 LICENSE SIBSD; +#X text 0 95 LIBRARY cyclone; +#X text 0 0 KEYWORDS print format string; +#X text 0 38 DESCRIPTION format a message of string and numbers; +#X text 0 57 INLET_N message; +#X text 0 76 OUTLET_0 message; +#X text 0 113 VERSION 0.1-alpha57; +#X text 0 131 AUTHOR Krzysztof Czaja; +#X text 1 149 RELEASE_DATE 2002; +#X text 2 168 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html +; +#X text 2 200 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan +Wilkes for Pd-extended 0.42 to conform to the PDDP template. Alex Cleveland +updated this patch for Pd-l2ork version 2013.05.28. Fred Jan Kraan +adapted the patch to pd-extended 2015-02-02; +#X restore 501 384 pd META; +#X obj 0 264 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0 +; +#X obj 0 304 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1 +0; +#N canvas 668 520 428 113 Related_objects 0; +#X obj 0 0 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0; +#X text 6 1 Related Objects; +#X obj 13 77 cyclone/spell; +#X obj 12 29 cyclone/fromsymbol; +#X obj 12 53 cyclone/tosymbol; +#X obj 142 31 key; +#X obj 142 55 keyup; +#X restore 204 384 pd Related_objects; +#X obj 79 224 cnv 17 3 17 empty empty n 5 9 0 16 -228856 -162280 0 +; +#X obj 79 276 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0 +; +#X obj 0 0 cnv 15 552 40 empty empty sprintf 3 12 0 18 -204280 -1 0 +; +#X obj 496 10 sprintf; +#X text 12 23 format a message of strings and numbers; +#X text 116 224 message; +#X text 116 275 message; +#X text 180 275 - the formatted string; +#X obj 72 187 print; +#X msg 72 55 -bar; +#X floatatom 213 79 5 0 0 0 - - -; +#X text 106 55 this is the 'hot' inlet; +#X text 99 320 1) string; +#X obj 72 131 cyclone/sprintf foo%s-%d; +#X obj 318 186 print; +#X msg 318 78 myFloat; +#X msg 415 76 42.88; +#X msg 513 77 64; +#X text 180 320 - the string format to output. Each % creates an inlet. +; +#X text 193 335 %s - string \, %d integer \, %f float \, %c - character +; +#X text 191 351 the format is derived from the c function sprintf; +#X obj 318 130 cyclone/sprintf variable %s=%f %c; +#X text 180 222 - inlet type is specifed by format string given as +argument to sprintf; +#X connect 15 0 19 0; +#X connect 16 0 19 1; +#X connect 19 0 14 0; +#X connect 21 0 27 0; +#X connect 22 0 27 1; +#X connect 23 0 27 2; +#X connect 27 0 20 0; |