Update of /cvsroot/pure-data/doc/pddp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26356
Modified Files: all_about_hid_mapping.pd all_about_looping.pd select-help.pd standard_gui_elements.pd Log Message: minor changes and additions
Index: select-help.pd =================================================================== RCS file: /cvsroot/pure-data/doc/pddp/select-help.pd,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** select-help.pd 28 Apr 2005 00:25:05 -0000 1.3 --- select-help.pd 19 Jun 2005 23:01:54 -0000 1.4 *************** *** 1,3 **** ! #N canvas 69 230 1009 667 10; #X floatatom 19 530 0 0 0 0 - - -; #X msg 83 488 1; --- 1,3 ---- ! #N canvas 44 74 1007 677 10; #X floatatom 19 530 0 0 0 0 - - -; #X msg 83 488 1; *************** *** 36,87 **** will see an outlet for each test value and finally an outlet for values which match none of them (the rightmost outlet).; ! #X obj 635 303 print NO_match; ! #X obj 508 302 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 539 303 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 571 303 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 603 303 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X msg 511 92 symbol dog; ! #X msg 516 111 symbol cat; ! #X msg 524 129 symbol foo; ! #X msg 531 149 symbol earth; ! #X msg 540 168 symbol 400; ! #X obj 508 282 select dog cat foo 400; ! #X msg 536 218 400; ! #X obj 639 580 print NO_match; ! #X obj 512 579 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 543 580 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 575 580 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 607 580 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X msg 508 377 symbol dog; ! #X msg 520 404 symbol cat; ! #X msg 528 423 symbol foo; ! #X msg 535 442 symbol earth; ! #X msg 543 463 symbol 400; ! #X msg 564 496 400; ! #X obj 512 560 select 400 dog cat foo; ! #X text 612 160 Notice that "400" here is defined as a symbol data type and the [select] object can successfully match it to the creation argment.; ! #X text 563 206 Notice that "400" here is a number and the [select] object cannot successfully match it to the creation argument. That is because this [select] expects symbols - not numbers.; ! #X obj 486 631 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 486 14 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X text 508 320 However , in this case below , you'll notice that the FIRST creation argument is a number. Therefore , this [select] object expects numbers and will ignore the "symbol" data type.; ! #X text 547 264 FIRST CREATION ARGUMENT IS A SYMBOL; ! #X text 555 543 FIRST CREATION ARGUMENT IS A NUMBER; ! #X text 511 9 [select] can also be used to match symbols like the example in the upper-right of this patch. It important to note that the FIRST creation argument indicates to the [select] object which data type --- 36,87 ---- will see an outlet for each test value and finally an outlet for values which match none of them (the rightmost outlet).; ! #X obj 601 303 print NO_match; ! #X obj 474 302 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 505 303 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 537 303 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 569 303 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X msg 477 92 symbol dog; ! #X msg 482 111 symbol cat; ! #X msg 490 129 symbol foo; ! #X msg 497 149 symbol earth; ! #X msg 506 168 symbol 400; ! #X obj 474 282 select dog cat foo 400; ! #X msg 502 218 400; ! #X obj 605 580 print NO_match; ! #X obj 478 579 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 509 580 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 541 580 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 573 580 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X msg 474 377 symbol dog; ! #X msg 486 404 symbol cat; ! #X msg 494 423 symbol foo; ! #X msg 501 442 symbol earth; ! #X msg 509 463 symbol 400; ! #X msg 530 496 400; ! #X obj 478 560 select 400 dog cat foo; ! #X text 578 160 Notice that "400" here is defined as a symbol data type and the [select] object can successfully match it to the creation argment.; ! #X text 529 206 Notice that "400" here is a number and the [select] object cannot successfully match it to the creation argument. That is because this [select] expects symbols - not numbers.; ! #X obj 460 631 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 460 14 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X text 474 320 However , in this case below , you'll notice that the FIRST creation argument is a number. Therefore , this [select] object expects numbers and will ignore the "symbol" data type.; ! #X text 513 264 FIRST CREATION ARGUMENT IS A SYMBOL; ! #X text 521 543 FIRST CREATION ARGUMENT IS A NUMBER; ! #X text 477 9 [select] can also be used to match symbols like the example in the upper-right of this patch. It important to note that the FIRST creation argument indicates to the [select] object which data type *************** *** 89,95 **** , then the object will test only symbols and numbers will be ignored! ; ! #X text 592 490 Notice that "400" here is a number and the [select] object can successfully match it to the creation argument.; ! #X text 612 457 Notice that "400" here is a symbol and the [select] object cannot successfully match it to the creation argument.; #X obj 23 373 sel 42; --- 89,95 ---- , then the object will test only symbols and numbers will be ignored! ; ! #X text 558 490 Notice that "400" here is a number and the [select] object can successfully match it to the creation argument.; ! #X text 578 457 Notice that "400" here is a symbol and the [select] object cannot successfully match it to the creation argument.; #X obj 23 373 sel 42; *************** *** 103,108 **** 24 by Dave Sabine as part of a project called pddp proposed by Krzysztof Czaja to build comprehensive documentation for Pd.; ! #X obj 514 639 route; ! #X text 513 618 RELATED OBJECTS; #X text 22 614 A WORD ABOUT CONDITIONAL OBJECTS; #N canvas 245 41 580 582 more 0; --- 103,108 ---- 24 by Dave Sabine as part of a project called pddp proposed by Krzysztof Czaja to build comprehensive documentation for Pd.; ! #X obj 480 639 route; ! #X text 479 618 RELATED OBJECTS; #X text 22 614 A WORD ABOUT CONDITIONAL OBJECTS; #N canvas 245 41 580 582 more 0; *************** *** 164,168 **** #X text 16 140 or; #X text 17 154 iem.kug.ac.at/pdb/; ! #X restore 555 639 pd related_objects_from_other_libraries; #X obj 233 397 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; --- 164,168 ---- #X text 16 140 or; #X text 17 154 iem.kug.ac.at/pdb/; ! #X restore 521 639 pd related_objects_from_other_libraries; #X obj 233 397 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; *************** *** 174,178 **** -1; #X msg 305 332 symbol word; - #X obj -316 311; #X text 21 260 Also note that in the example above , there is a second inlet. This is used to reset the argument's value like below. This --- 174,177 ----
Index: standard_gui_elements.pd =================================================================== RCS file: /cvsroot/pure-data/doc/pddp/standard_gui_elements.pd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** standard_gui_elements.pd 5 May 2005 18:05:27 -0000 1.2 --- standard_gui_elements.pd 19 Jun 2005 23:01:54 -0000 1.3 *************** *** 1,13 **** ! #N canvas 218 38 464 552 10; #X msg 22 148 ; pd dsp $1; #X obj 2 2 cnv 15 450 20 empty empty [object_name] 2 11 1 18 -233017 -66577 0; ! #X obj 21 93 tgl 30 0 empty empty start 2 15 1 12 -24198 -1 -1 0 1 ; ! #X obj 369 103 vsl 20 128 0 127 0 0 empty empty amp -1 -8 1 12 -225271 -1 -1 0 1; #X obj 194 466 grouping patch; #X obj 113 228 nbx 5 20 -1e+37 1e+37 0 0 empty empty display_number_box ! 0 -6 1 16 -199729 -1 -1 34 256; #X text 17 261 The idea behind these objects is to have a color scheme which consistently represents various ideas. Also , having GUI objects --- 1,13 ---- ! #N canvas 218 38 476 564 10; #X msg 22 148 ; pd dsp $1; #X obj 2 2 cnv 15 450 20 empty empty [object_name] 2 11 1 18 -233017 -66577 0; ! #X obj 21 93 tgl 30 0 empty empty start 1 15 1 12 -90049 -1 -1 0 1 ; ! #X obj 369 103 vsl 20 128 0 1 0 0 empty empty amp -1 -8 1 12 -225271 -1 -1 0 1; #X obj 194 466 grouping patch; #X obj 113 228 nbx 5 20 -1e+37 1e+37 0 0 empty empty display_number_box ! 0 -6 1 16 -199729 -1 -1 0 256; #X text 17 261 The idea behind these objects is to have a color scheme which consistently represents various ideas. Also , having GUI objects *************** *** 22,33 **** #X text 14 37 [object_name] is an example patch for the PDDP style guide.; ! #X obj 223 92 bng 30 250 50 0 empty empty open 1 15 1 12 -44926 -1 ! -1; ! #X obj 129 93 bng 30 250 50 0 empty empty stop 2 15 1 12 -258699 -1 -1; #X obj 271 156 hsl 60 18 0 1 0 1 empty empty pan 2 9 1 12 -257472 -1 -1 2950 0; ! #X obj 55 93 bng 30 250 50 0 empty empty start 1 15 1 12 -24198 -1 -1; #X obj 28 349 comment 400 12 Times ? 0 0 0 0 This is Times 12pt; #X obj 33 378 comment 400 14 Times ? 0 0 0 0 comment; --- 22,35 ---- #X text 14 37 [object_name] is an example patch for the PDDP style guide.; ! #X obj 223 92 bng 30 250 50 0 empty empty open 1 15 1 12 -4080 -1 -1 ! ; ! #X obj 129 93 bng 30 250 50 0 empty empty stop 2 15 1 12 -258579 -1 -1; #X obj 271 156 hsl 60 18 0 1 0 1 empty empty pan 2 9 1 12 -257472 -1 -1 2950 0; ! #X obj 55 93 bng 30 250 50 0 empty empty start 1 15 1 12 -90049 -1 -1; #X obj 28 349 comment 400 12 Times ? 0 0 0 0 This is Times 12pt; #X obj 33 378 comment 400 14 Times ? 0 0 0 0 comment; + #X obj 255 92 bng 30 250 50 0 empty empty save 1 15 1 12 -4015 -1 -1 + ;
Index: all_about_hid_mapping.pd =================================================================== RCS file: /cvsroot/pure-data/doc/pddp/all_about_hid_mapping.pd,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** all_about_hid_mapping.pd 24 May 2005 00:39:57 -0000 1.8 --- all_about_hid_mapping.pd 19 Jun 2005 23:01:54 -0000 1.9 *************** *** 1,3 **** ! #N canvas 49 175 871 588 10; #N canvas 0 22 450 300 graph1 0; #X array cuberoot 100 float 0; --- 1,3 ---- ! #N canvas 173 110 879 596 10; #N canvas 0 22 450 300 graph1 0; #X array cuberoot 100 float 0; *************** *** 107,113 **** #X text 47 496 - many sensors work best on other curves; #X text 1 286 POLAR COORDINATES; - #X obj 84 303 hid_degrees; #X obj 9 303 hid_polar; ! #X obj 174 303 hid_spiral; #X obj 10 350 hid2rad; #X obj 130 350 hid2deg; --- 107,112 ---- #X text 47 496 - many sensors work best on other curves; #X text 1 286 POLAR COORDINATES; #X obj 9 303 hid_polar; ! #X obj 82 303 hid_spiral; #X obj 10 350 hid2rad; #X obj 130 350 hid2deg; *************** *** 133,134 **** --- 132,134 ---- #X obj 193 262 hid_one2four; #X text 556 437 Or draw your own curve:; + #X obj 163 303 hid_vector;
Index: all_about_looping.pd =================================================================== RCS file: /cvsroot/pure-data/doc/pddp/all_about_looping.pd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** all_about_looping.pd 26 Apr 2005 20:28:35 -0000 1.2 --- all_about_looping.pd 19 Jun 2005 23:01:54 -0000 1.3 *************** *** 1,6 **** ! #N canvas 255 95 864 631 10; #X text 460 79 looping objects:; #X obj 462 101 until; ! #X obj 572 102 loop; #X obj 437 504 susloop~; #X obj 506 504 loop~; --- 1,6 ---- ! #N canvas 255 95 868 635 10; #X text 460 79 looping objects:; #X obj 462 101 until; ! #X obj 520 101 loop; #X obj 437 504 susloop~; #X obj 506 504 loop~; *************** *** 90,93 **** --- 90,97 ---- loop.; #X text 429 395 other examples:; + #X obj 705 504 count~; + #X obj 557 101 modulo_counter; + #X obj 665 101 count; + #X obj 709 101 countund; #X connect 16 0 17 0; #X connect 16 0 27 0;