aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/intro
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-08-16 17:50:27 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-08-16 17:50:27 +0000
commitb40c3bc49882fc8eeeb7635516f9c3c361383bb8 (patch)
treede3ee9bf4986301e374c72f9e2204e8bfa075001 /doc/tutorials/intro
parent9fdb62e5c9a473841b6efc781a64350c85a93318 (diff)
fixed minor bugs found during laboral workshop and cleaned up patches to make them easier to understand
svn path=/trunk/; revision=8597
Diffstat (limited to 'doc/tutorials/intro')
-rw-r--r--doc/tutorials/intro/09.bang.pd22
-rw-r--r--doc/tutorials/intro/11.counters.pd14
-rw-r--r--doc/tutorials/intro/25.Example-all_just_data.pd217
3 files changed, 137 insertions, 116 deletions
diff --git a/doc/tutorials/intro/09.bang.pd b/doc/tutorials/intro/09.bang.pd
index 37c38f24..3fa1813c 100644
--- a/doc/tutorials/intro/09.bang.pd
+++ b/doc/tutorials/intro/09.bang.pd
@@ -1,4 +1,4 @@
-#N canvas 10 40 636 476 12;
+#N canvas 10 40 640 480 12;
#X obj 18 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 18 269 bang;
@@ -14,21 +14,21 @@ on the object receiving the bang.;
#X obj 73 387 print word;
#X obj 132 352 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 18 299 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
-#X obj 18 221 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
#X msg 279 324 bang;
#X obj 289 398 pddp/print_long;
#X msg 279 350 send me!;
#X obj 395 320 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 394 349 234;
-#X connect 0 0 11 0;
-#X connect 1 0 10 0;
+#X obj 18 219 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0
+1;
+#X obj 18 297 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0
+1;
+#X connect 0 0 15 0;
+#X connect 1 0 16 0;
#X connect 7 0 8 0;
#X connect 9 0 8 0;
-#X connect 12 0 14 0;
-#X connect 14 0 13 0;
-#X connect 15 0 16 0;
-#X connect 16 0 13 0;
+#X connect 10 0 12 0;
+#X connect 12 0 11 0;
+#X connect 13 0 14 0;
+#X connect 14 0 11 0;
diff --git a/doc/tutorials/intro/11.counters.pd b/doc/tutorials/intro/11.counters.pd
index 9e8d4640..7a1b70c0 100644
--- a/doc/tutorials/intro/11.counters.pd
+++ b/doc/tutorials/intro/11.counters.pd
@@ -1,4 +1,4 @@
-#N canvas 10 40 624 464 12;
+#N canvas 10 40 628 468 12;
#X obj 10 10 cnv 15 400 40 empty empty counters 20 12 0 24 -228992
-66577 0;
#X obj 156 362 cnv 15 100 60 empty empty empty 20 12 0 14 -261039 -66577
@@ -15,7 +15,7 @@
#X text 172 161 decrement;
#X text 195 187 reset;
#X floatatom 346 244 5 0 0 0 - - -;
-#X msg 404 180 0;
+#X msg 378 180 0;
#X text 395 137 increment;
#X obj 346 216 float;
#X obj 404 216 + 1;
@@ -23,10 +23,10 @@
#X text 278 377 DANGER! infinite loop!;
#X text 20 78 Counters are used a lot when programming Pd. Here are
two examples of simple counters that you will see frequently.;
-#X text 442 180 reset;
-#X text 20 276 Pd is designed to be as flexible and open as possible.
+#X text 416 180 reset;
+#X text 20 277 Pd is designed to be as flexible and open as possible.
This means that it will let you crash your computer. For example \,
-never start a counter like this \, it will crash your computer!;
+never start a counter like this \, it could crash your computer!;
#X connect 2 0 3 0;
#X connect 3 0 2 0;
#X connect 4 0 7 1;
@@ -34,10 +34,8 @@ never start a counter like this \, it will crash your computer!;
#X connect 7 0 4 0;
#X connect 7 0 5 0;
#X connect 8 0 4 0;
-#X connect 8 0 7 0;
#X connect 9 0 7 0;
-#X connect 14 0 17 0;
-#X connect 14 0 16 0;
+#X connect 14 0 16 1;
#X connect 16 0 13 0;
#X connect 16 0 17 0;
#X connect 17 0 16 1;
diff --git a/doc/tutorials/intro/25.Example-all_just_data.pd b/doc/tutorials/intro/25.Example-all_just_data.pd
index c5e0eec4..1e8a7141 100644
--- a/doc/tutorials/intro/25.Example-all_just_data.pd
+++ b/doc/tutorials/intro/25.Example-all_just_data.pd
@@ -1,99 +1,122 @@
-#N canvas 10 40 624 464 10;
-#X obj 177 265 import unauthorized Gem;
-#X obj 154 102 grid grid1 200 0 199 200 0 199 1 1 1 10 10 113 347;
-#X obj 25 39 pddp/dsp;
-#N canvas 10 40 620 460 guts 0;
-#X obj 20 10 inlet;
-#X obj 275 14 inlet;
-#X obj 78 108 osc~;
-#X obj 78 137 *~;
-#X obj 115 79 / 200;
-#X obj 76 166 dac~;
-#X obj 444 54 receive pd;
-#X msg 340 154 create;
-#X msg 310 154 1;
-#X obj 482 215 gemwin;
-#X msg 564 154 0;
-#X msg 504 154 destroy;
-#X obj 517 132 t b b;
-#X obj 311 125 trigger bang bang bang;
-#X obj 444 94 select 1;
-#X obj 444 74 route dsp;
-#X obj 89 229 gemhead;
-#X obj 90 375 sphere 1 20;
-#X obj 91 344 translateXYZ;
-#X obj 93 287 colorRGB 1 1 1 1;
-#X obj 90 314 alpha;
-#X msg 289 192 lighting 1;
-#X obj 418 294 gemhead;
-#X obj 419 359 world_light -120;
-#X obj 228 292 / 25;
-#X obj 30 300 / 25;
-#X obj 228 269 - 100;
-#X obj 29 279 - 100;
-#X obj 181 251 / 200;
-#X obj 53 250 / 200;
-#X msg 394 154 dimen 200 200;
-#X obj 77 56 + 250;
-#X obj 115 118 line~;
-#X obj 161 59 bang;
-#X msg 160 98 0 250;
-#X msg 115 98 \$1 25;
-#X obj 161 79 delay 200;
-#X connect 0 0 4 0;
-#X connect 0 0 27 0;
-#X connect 0 0 29 0;
-#X connect 0 0 33 0;
-#X connect 1 0 26 0;
-#X connect 1 0 28 0;
-#X connect 1 0 31 0;
-#X connect 2 0 3 0;
-#X connect 3 0 5 0;
-#X connect 3 0 5 1;
-#X connect 4 0 35 0;
-#X connect 6 0 15 0;
-#X connect 7 0 9 0;
-#X connect 8 0 9 0;
-#X connect 10 0 9 0;
-#X connect 11 0 9 0;
-#X connect 12 0 11 0;
-#X connect 12 1 10 0;
-#X connect 13 0 8 0;
-#X connect 13 0 21 0;
-#X connect 13 1 7 0;
-#X connect 13 2 30 0;
-#X connect 14 0 13 0;
-#X connect 14 1 12 0;
-#X connect 15 0 14 0;
-#X connect 16 0 19 0;
-#X connect 18 0 17 0;
-#X connect 19 0 20 0;
-#X connect 20 0 18 0;
-#X connect 21 0 9 0;
-#X connect 22 0 23 0;
-#X connect 24 0 18 2;
-#X connect 25 0 18 1;
-#X connect 26 0 24 0;
-#X connect 27 0 25 0;
-#X connect 28 0 19 2;
-#X connect 29 0 19 1;
-#X connect 30 0 9 0;
-#X connect 31 0 2 0;
-#X connect 32 0 3 1;
-#X connect 33 0 36 0;
-#X connect 34 0 32 0;
-#X connect 35 0 32 0;
-#X connect 36 0 34 0;
-#X restore 256 320 pd guts;
-#X text 102 9 Its all just data. Use it however you want!;
-#X text 28 61 ^-- click here to turn it on and off;
-#X obj 154 344 nbx 5 24 -1e+37 1e+37 0 0 empty empty X -15 12 1 18
+#N canvas 28 39 628 462 12;
+#X obj 208 229 import unauthorized Gem;
+#X text 217 160 caught you peeking!!;
+#X text 197 255 (this just makes sure the;
+#X text 200 271 right libraries are loaded);
+#X obj 193 124 grid grid1 200 0 199 200 0 199 1 1 1 10 10 245 211;
+#X obj 25 55 pddp/dsp;
+#X text 140 11 Its all just data. Use it however you want!;
+#X obj 193 372 nbx 5 24 -1e+37 1e+37 0 0 empty empty X -15 12 1 18
-166441 -1 -1 0 256;
-#X obj 348 343 nbx 5 24 -1e+37 1e+37 0 0 empty empty Y -15 12 1 18
+#X obj 386 371 nbx 5 24 -1e+37 1e+37 0 0 empty empty Y -15 12 1 18
-166441 -1 -1 0 256;
-#X text 14 121 click and drag in;
-#X text 14 137 this box ------->;
-#X connect 1 0 3 0;
-#X connect 1 0 6 0;
-#X connect 1 1 3 1;
-#X connect 1 1 7 0;
+#X text 40 207 this box ------->;
+#N canvas 649 35 635 469 open 0;
+#X obj 314 7 cnv 15 300 40 empty empty Y_input 120 20 0 14 -228856
+-66577 0;
+#X obj 8 7 cnv 15 300 40 empty empty X_input 120 20 0 14 -228856 -66577
+0;
+#X obj 314 52 cnv 15 300 230 empty empty gemwin 248 220 0 14 -203904
+-66577 0;
+#X obj 8 229 cnv 15 300 220 empty empty sphere 249 209 0 14 -204800
+-66577 0;
+#X obj 8 52 cnv 15 300 170 empty empty audio 257 160 0 14 -262130 -66577
+0;
+#X obj 314 289 cnv 15 300 160 empty empty lighting 234 149 0 14 -232576
+-66577 0;
+#X obj 17 18 inlet;
+#X obj 321 18 inlet;
+#X obj 52 141 osc~;
+#X obj 82 172 *~;
+#X obj 104 88 / 200;
+#X obj 70 199 dac~;
+#X obj 426 59 receive pd;
+#X msg 444 193 create;
+#X msg 410 193 1;
+#X obj 426 255 gemwin;
+#X msg 578 193 0;
+#X msg 516 193 destroy;
+#X obj 426 110 select 1;
+#X obj 426 84 route dsp;
+#X obj 87 236 gemhead;
+#X obj 87 424 sphere 1 20;
+#X obj 87 403 translateXYZ;
+#X obj 87 310 colorRGB 1 1 1 1;
+#X msg 325 193 lighting 1;
+#X obj 415 329 gemhead;
+#X obj 416 394 world_light -120;
+#X obj 202 353 / 25;
+#X obj 24 353 / 25;
+#X obj 202 332 - 100;
+#X obj 24 332 - 100;
+#X obj 143 263 / 200;
+#X obj 52 263 / 200;
+#X obj 51 89 + 250;
+#X obj 114 147 line~;
+#X obj 185 71 bang;
+#X msg 185 117 0 250;
+#X obj 185 94 delay 200;
+#X obj 325 151 trigger bang bang;
+#X obj 479 151 trigger bang bang;
+#X text 346 106 on;
+#X text 522 107 off;
+#X text 91 262 red;
+#X text 178 263 green;
+#X text 36 316 X;
+#X text 218 315 Y;
+#X floatatom 202 376 5 0 0 0 - - -;
+#X floatatom 24 376 5 0 0 0 - - -;
+#X obj 104 111 pack 0 25;
+#X text 54 107 freq.;
+#X text 225 73 off;
+#X text 109 71 on;
+#X connect 6 0 10 0;
+#X connect 6 0 30 0;
+#X connect 6 0 32 0;
+#X connect 6 0 35 0;
+#X connect 7 0 29 0;
+#X connect 7 0 31 0;
+#X connect 7 0 33 0;
+#X connect 8 0 9 0;
+#X connect 9 0 11 0;
+#X connect 9 0 11 1;
+#X connect 10 0 48 0;
+#X connect 12 0 19 0;
+#X connect 13 0 15 0;
+#X connect 14 0 15 0;
+#X connect 16 0 15 0;
+#X connect 17 0 15 0;
+#X connect 18 0 38 0;
+#X connect 18 1 39 0;
+#X connect 19 0 18 0;
+#X connect 20 0 23 0;
+#X connect 22 0 21 0;
+#X connect 23 0 22 0;
+#X connect 24 0 15 0;
+#X connect 25 0 26 0;
+#X connect 27 0 22 2;
+#X connect 27 0 46 0;
+#X connect 28 0 22 1;
+#X connect 28 0 47 0;
+#X connect 29 0 27 0;
+#X connect 30 0 28 0;
+#X connect 31 0 23 2;
+#X connect 32 0 23 1;
+#X connect 33 0 8 0;
+#X connect 34 0 9 1;
+#X connect 35 0 37 0;
+#X connect 36 0 34 0;
+#X connect 37 0 36 0;
+#X connect 38 0 14 0;
+#X connect 38 0 24 0;
+#X connect 38 1 13 0;
+#X connect 39 0 17 0;
+#X connect 39 1 16 0;
+#X connect 48 0 34 0;
+#X restore 267 341 pd open me;
+#X text 26 77 ^-- 1) click here to turn it on and off;
+#X text 40 192 2) click and drag in;
+#X connect 4 0 7 0;
+#X connect 4 0 10 0;
+#X connect 4 1 8 0;
+#X connect 4 1 10 1;