Update of /cvsroot/pure-data/doc/tutorials/intro In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2026
Modified Files: 00.hello_world.pd gui_objects.pd outlet_order.pd ordering_messages.pd TEMPLATE.pd TODO Log Message: minor fixes, updates, and wording updates
Index: ordering_messages.pd =================================================================== RCS file: /cvsroot/pure-data/doc/tutorials/intro/ordering_messages.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ordering_messages.pd 7 Apr 2006 00:15:27 -0000 1.1 --- ordering_messages.pd 12 Apr 2006 14:20:34 -0000 1.2 *************** *** 1,42 **** ! #N canvas 570 267 619 435 12; #X obj -60 8 cnv 15 400 40 empty empty ordering_messages 20 12 0 24 -228992 -66577 0; ! #X obj 214 364 t f b s l p a; ! #X text 64 362 abbreviations:; ! #X obj -26 396 trigger float bang symbol list pointer anything; ! #X obj 239 89 trigger; ! #X msg 471 223 now; ! #X msg 392 223 this; ! #X msg 313 223 makes; ! #X msg 234 223 sense; ! #X msg 156 223 !; ! #X msg 232 326; ! #X obj 233 265 symbol; ! #X msg 233 289 add2 $1; ! #X msg 196 133 bang; ! #X text -56 54 The [trigger] object allows you to specify the order ! of execution. If you need to make sure that one thing executes before ! another , use:; ! #X msg 3 155 set; ! #X text -62 155 reset:; ! #X obj 196 160 trigger bang bang bang bang bang; ! #X msg 88 154 bang; ! #X connect 5 0 11 0; ! #X connect 6 0 11 0; ! #X connect 7 0 11 0; ! #X connect 8 0 11 0; #X connect 9 0 11 0; ! #X connect 11 0 12 0; ! #X connect 12 0 10 0; ! #X connect 13 0 17 0; ! #X connect 15 0 10 0; ! #X connect 17 0 9 0; ! #X connect 17 1 8 0; ! #X connect 17 2 7 0; ! #X connect 17 3 6 0; ! #X connect 17 4 5 0; ! #X connect 18 0 8 0; ! #X connect 18 0 9 0; ! #X connect 18 0 6 0; ! #X connect 18 0 7 0; ! #X connect 18 0 5 0; --- 1,42 ---- ! #N canvas 542 117 623 439 12; #X obj -60 8 cnv 15 400 40 empty empty ordering_messages 20 12 0 24 -228992 -66577 0; ! #X msg 395 249 now; ! #X msg 316 250 this; ! #X msg 237 250 makes; ! #X msg 158 250 sense; ! #X msg 80 250 !; ! #X msg 276 391 sense now this; ! #X obj 157 292 symbol; ! #X msg 159 151 bang; ! #X msg -27 177 bang; ! #X msg 157 316 add2 $1; ! #X msg 478 248 set; ! #X obj 160 178 trigger bang bang bang bang bang bang; ! #X text -18 393 look here for the result -->; ! #X text -50 62 Officially , the execution order in Pd is undefined. ! ; ! #X text -50 88 The [trigger] object allows you to specify the order ! of messages are sent. If you need to make sure that one thing runs ! before another , use [trigger]:; ! #X connect 1 0 7 0; ! #X connect 2 0 7 0; ! #X connect 3 0 7 0; ! #X connect 4 0 7 0; ! #X connect 5 0 7 0; ! #X connect 7 0 10 0; ! #X connect 8 0 12 0; ! #X connect 9 0 3 0; ! #X connect 9 0 5 0; #X connect 9 0 11 0; ! #X connect 9 0 4 0; ! #X connect 9 0 1 0; ! #X connect 9 0 2 0; ! #X connect 10 0 6 0; ! #X connect 11 0 6 0; ! #X connect 12 0 5 0; ! #X connect 12 1 4 0; ! #X connect 12 2 3 0; ! #X connect 12 3 2 0; ! #X connect 12 4 1 0; ! #X connect 12 5 11 0;
Index: TEMPLATE.pd =================================================================== RCS file: /cvsroot/pure-data/doc/tutorials/intro/TEMPLATE.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TEMPLATE.pd 10 Apr 2006 18:54:51 -0000 1.1 --- TEMPLATE.pd 12 Apr 2006 14:20:34 -0000 1.2 *************** *** 1,3 **** ! #N canvas 21 40 631 447 12; ! #X obj -54 8 cnv 15 400 40 empty empty TEMPLATE 20 12 0 24 -228992 -66577 0; --- 1,3 ---- ! #N canvas 21 40 639 455 12; ! #X obj -39 10 cnv 15 400 40 empty empty TEMPLATE 20 12 0 24 -228992 -66577 0;
Index: gui_objects.pd =================================================================== RCS file: /cvsroot/pure-data/doc/tutorials/intro/gui_objects.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** gui_objects.pd 28 Mar 2006 05:35:22 -0000 1.1 --- gui_objects.pd 12 Apr 2006 14:20:34 -0000 1.2 *************** *** 1,3 **** ! #N canvas 293 91 746 588 10; #X obj 504 24 import cyclone unauthorized; #X obj 30 70 bng 15 250 50 0 $1 $1 empty 20 8 0 8 -262144 -1 -1; --- 1,3 ---- ! #N canvas 312 62 750 592 10; #X obj 504 24 import cyclone unauthorized; #X obj 30 70 bng 15 250 50 0 $1 $1 empty 20 8 0 8 -262144 -1 -1; *************** *** 5,11 **** -1 0 1; #X obj 34 148 vsl 15 128 0 127 0 1.04858e+06 empty $3 empty 20 8 0 ! 8 -262144 -1 -1 12700 1; #X obj 191 278 hsl 128 15 0 127 0 0 empty empty empty 20 8 0 8 -262144 ! -1 -1 2700 1; #X obj 201 249 hdl 15 1 2.6624e+06 8 $5 $5 empty 20 8 192 8 -262144 -1 -1 0; --- 5,11 ---- -1 0 1; #X obj 34 148 vsl 15 128 0 127 0 1.04858e+06 empty $3 empty 20 8 0 ! 8 -262144 -1 -1 0 1; #X obj 191 278 hsl 128 15 0 127 0 0 empty empty empty 20 8 0 8 -262144 ! -1 -1 0 1; #X obj 201 249 hdl 15 1 2.6624e+06 8 $5 $5 empty 20 8 192 8 -262144 -1 -1 0; *************** *** 24,35 **** #X obj 142 367 popup 124 25 #ffffff popup option; #X obj 298 363 ticker ; ! #X obj 503 415 envgen 200 140 1 0 ; #X obj 366 499 knob 32 32 0 127 0 0 empty empty empty 0 -8 32 8 -262144 -1 -1 3100 1; #X text 360 473 [knob]; #X text 281 340 [ticker]; ! #X obj 492 96 grid grid1 200 0 199 200 0 199 1 1 1 10 10 19 11; ! #X text 500 73 [unauthorized/grid]; ! #X text 483 391 [envgen]; #X text 112 405 [cyclone/Scope~]; #X text 23 339 [button]; --- 24,35 ---- #X obj 142 367 popup 124 25 #ffffff popup option; #X obj 298 363 ticker ; ! #X obj 495 419 envgen 200 140 1 0 ; #X obj 366 499 knob 32 32 0 127 0 0 empty empty empty 0 -8 32 8 -262144 -1 -1 3100 1; #X text 360 473 [knob]; #X text 281 340 [ticker]; ! #X obj 500 71 grid grid1 200 0 199 200 0 199 1 1 1 10 10 570 188; ! #X text 474 51 [unauthorized/grid]; ! #X text 475 395 [envgen]; #X text 112 405 [cyclone/Scope~]; #X text 23 339 [button]; *************** *** 45,46 **** --- 45,48 ---- 135 135 0; #X text 337 118 [nbx]; + #X obj 555 305 gcanvas 80 80; + #X text 483 294 [gcanvas];
Index: outlet_order.pd =================================================================== RCS file: /cvsroot/pure-data/doc/tutorials/intro/outlet_order.pd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** outlet_order.pd 6 Apr 2006 23:56:54 -0000 1.2 --- outlet_order.pd 12 Apr 2006 14:20:34 -0000 1.3 *************** *** 1,11 **** ! #N canvas 0 22 458 308 12; ! #X text 121 112 <-- click here ,; ! #X obj 51 151 unpack float float float; #X obj 8 10 cnv 15 400 40 empty empty outlet_order 20 12 0 24 -228992 -66577 0; ! #X msg 51 112 3 2 1; ! #X obj 28 193 print último; ! #X obj 315 193 print first; ! #X obj 167 193 print nächste; #X connect 1 0 4 0; #X connect 1 1 6 0; --- 1,19 ---- ! #N canvas 298 70 628 444 12; ! #X text 198 212 <-- click here ,; ! #X obj 128 251 unpack float float float; #X obj 8 10 cnv 15 400 40 empty empty outlet_order 20 12 0 24 -228992 -66577 0; ! #X msg 128 212 3 2 1; ! #X obj 105 293 print último; ! #X obj 392 293 print first; ! #X obj 244 293 print nächste; ! #X text 18 363 There are occasional exceptions where it makes sense ! to break this convention. But you shouldn't do it unless it really ! is necessary. This will save you in the long run.; ! #X text 15 68 While there is nothing forcing you to output data to ! the outlets in any order , Pd has a very strong convention for how ! data should be output from an object.; ! #X text 14 130 Just like the flow of programming in Pd , the data ! should be output from right to left:; #X connect 1 0 4 0; #X connect 1 1 6 0;
Index: 00.hello_world.pd =================================================================== RCS file: /cvsroot/pure-data/doc/tutorials/intro/00.hello_world.pd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** 00.hello_world.pd 6 Apr 2006 23:56:54 -0000 1.2 --- 00.hello_world.pd 12 Apr 2006 14:20:34 -0000 1.3 *************** *** 1,3 **** ! #N canvas 228 159 628 440 12; #X msg 235 167 Hello world!; #X text 238 216 <-- connection , aka "cord"; --- 1,3 ---- ! #N canvas 228 159 632 444 12; #X msg 235 167 Hello world!; #X text 238 216 <-- connection , aka "cord"; *************** *** 11,14 **** #X text 289 266 <-- object box; #X text 89 357 Now look in the Pd window to see the result.; ! #X text 374 166 <-- click here; #X connect 0 0 6 0; --- 11,15 ---- #X text 289 266 <-- object box; #X text 89 357 Now look in the Pd window to see the result.; ! #X text 359 168 <-- message box; ! #X text 101 111 Click on the box with "Hello world!" in it:; #X connect 0 0 6 0;
Index: TODO =================================================================== RCS file: /cvsroot/pure-data/doc/tutorials/intro/TODO,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TODO 6 Apr 2006 23:56:54 -0000 1.2 --- TODO 12 Apr 2006 14:20:34 -0000 1.3 *************** *** 10,11 **** --- 10,60 ---- - in pure_data_files.pd, make the patch reset itself once it finishes the clone. (remember that [pd clone] has to be the last object.) + + - make looping sequence + + File Order: + + - hello world + - basic elements + - getting help + - edit mode + - objects + - connections + - messages + - make your first Pd patch + - bang + - hot and cold inlets + - storage objects + - atoms + - atomic messages + + + Unsorted topics + + - arguments + + - guis + - gui objects + + - Example: its all just data + - Example: parazit + + - right-to-left order + - depth first + + - ordering messages + + + - math objects + - expr + + - subpatches + - inlets and outlets + - outlet order + + - loading libraries + - namespaces + - import + + - send messages to Pd + - pure data files