aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/pddp/all_about_hid_mapping.pd8
-rw-r--r--doc/pddp/all_about_looping.pd8
-rw-r--r--doc/pddp/select-help.pd77
-rw-r--r--doc/pddp/standard_gui_elements.pd18
4 files changed, 58 insertions, 53 deletions
diff --git a/doc/pddp/all_about_hid_mapping.pd b/doc/pddp/all_about_hid_mapping.pd
index b23b7135..78dffb3a 100644
--- a/doc/pddp/all_about_hid_mapping.pd
+++ b/doc/pddp/all_about_hid_mapping.pd
@@ -1,4 +1,4 @@
-#N canvas 49 175 871 588 10;
+#N canvas 173 110 879 596 10;
#N canvas 0 22 450 300 graph1 0;
#X array cuberoot 100 float 0;
#X coords 0 1 99 0 100 100 1;
@@ -92,7 +92,7 @@ scale;
#X text 22 530 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 239 544 released under the GNU GPL;
-#X text 445 531 $Revision: 1.8 $$Date: 2005-05-24 00:39:57 $;
+#X text 445 531 $Revision: 1.9 $$Date: 2005-06-19 23:01:54 $;
#X text 446 544 $Author: eighthave $;
#X obj 88 167 hid_average;
#X text 1 83 SCALING AND RANGING;
@@ -106,9 +106,8 @@ scale;
#X text 47 481 - pitch is perceived on logarithmic scale;
#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 82 303 hid_spiral;
#X obj 10 350 hid2rad;
#X obj 130 350 hid2deg;
#X obj 70 350 rad2hid;
@@ -132,3 +131,4 @@ the resulting data with each step.;
#X obj 173 167 hid_lowpass;
#X obj 193 262 hid_one2four;
#X text 556 437 Or draw your own curve:;
+#X obj 163 303 hid_vector;
diff --git a/doc/pddp/all_about_looping.pd b/doc/pddp/all_about_looping.pd
index d6c41eb3..6c24428b 100644
--- a/doc/pddp/all_about_looping.pd
+++ b/doc/pddp/all_about_looping.pd
@@ -1,7 +1,7 @@
-#N canvas 255 95 864 631 10;
+#N canvas 255 95 868 635 10;
#X text 460 79 looping objects:;
#X obj 462 101 until;
-#X obj 572 102 loop;
+#X obj 520 101 loop;
#X obj 437 504 susloop~;
#X obj 506 504 loop~;
#X text 434 483 for looping samples:;
@@ -89,6 +89,10 @@ this. Instead of setting up a C-like [counter] or [for++] \, set up
a condition to continue the loop \, and a condition that stops the
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;
#X connect 17 0 16 1;
diff --git a/doc/pddp/select-help.pd b/doc/pddp/select-help.pd
index 1ac90d9e..a492e6a6 100644
--- a/doc/pddp/select-help.pd
+++ b/doc/pddp/select-help.pd
@@ -1,4 +1,4 @@
-#N canvas 69 230 1009 667 10;
+#N canvas 44 74 1007 677 10;
#X floatatom 19 530 0 0 0 0 - - -;
#X msg 83 488 1;
#X msg 49 488 54;
@@ -35,62 +35,62 @@ to the rightmost outlet.;
you can use [select] to test the input for many different values. You
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
+#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 539 303 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 505 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
+#X obj 537 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
+#X obj 569 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
+#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 543 580 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 509 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
+#X obj 541 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
+#X obj 573 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
+#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 563 206 Notice that "400" here is a number and the [select]
+#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 486 631 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 460 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
+#X obj 460 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
+#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 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
+#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
to expect. If your first creation argument is a symbol \, like "dog"
\, 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]
+#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 612 457 Notice that "400" here is a symbol and the [select]
+#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;
#X msg 23 330 42;
@@ -102,8 +102,8 @@ object cannot successfully match it to the creation argument.;
#X text 325 686 This document was updated for Pd version 0.35 test
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 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;
#X text 22 16 Using the [select] object \, and others listed below
@@ -163,7 +163,7 @@ is:;
;
#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 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;
#X msg 196 332 symbol word;
@@ -173,7 +173,6 @@ is:;
#X obj 305 397 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-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
feature is available only on [select] objects with only ONE creation
diff --git a/doc/pddp/standard_gui_elements.pd b/doc/pddp/standard_gui_elements.pd
index 9c0fa126..36d587ed 100644
--- a/doc/pddp/standard_gui_elements.pd
+++ b/doc/pddp/standard_gui_elements.pd
@@ -1,14 +1,14 @@
-#N canvas 218 38 464 552 10;
+#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 2 15 1 12 -24198 -1 -1 0 1
+#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 127 0 0 empty empty amp -1 -8 1 12 -225271
+#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 34 256;
+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
highlighted by color signals the user that they should play with that
@@ -21,13 +21,15 @@ object \, while plain white objects are part of the implementation.
#X restore 317 466 pd related_objects;
#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
+#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 -24198 -1
+#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
+;