diff options
Diffstat (limited to 'doc/tutorials/intro')
-rw-r--r-- | doc/tutorials/intro/0.right_to_left_order.pd | 44 | ||||
-rw-r--r-- | doc/tutorials/intro/audio_execution_order.pd (renamed from doc/tutorials/intro/0.execution_order.pd) | 0 | ||||
-rw-r--r-- | doc/tutorials/intro/build_a_patch.pd | 23 | ||||
-rw-r--r-- | doc/tutorials/intro/gui_objects.pd | 46 | ||||
-rw-r--r-- | doc/tutorials/intro/outlet_order.pd | 13 | ||||
-rw-r--r-- | doc/tutorials/intro/subpatches.pd | 1 |
6 files changed, 105 insertions, 22 deletions
diff --git a/doc/tutorials/intro/0.right_to_left_order.pd b/doc/tutorials/intro/0.right_to_left_order.pd index b484cd7f..cb990c62 100644 --- a/doc/tutorials/intro/0.right_to_left_order.pd +++ b/doc/tutorials/intro/0.right_to_left_order.pd @@ -1,24 +1,24 @@ -#N canvas 427 300 455 442 10; -#X text 19 12 In Pd \, you read a patch from right to left \, from -top to bottom.; -#X text 18 47 The [trigger] object is used to enforce execution order. +#N canvas 406 232 616 416 12; +#X text 10 110 The [trigger] object is used to enforce execution order. If you need things to run in a certain order \, then you use a [trigger]. ; -#X obj 74 117 bng 25 250 50 0 empty empty empty -2 -8 1 10 -24198 -1 --1; -#X obj 74 151 trigger bang bang bang; -#X obj 85 257 +; -#X obj 136 233 +; -#X msg 197 198 1; -#X msg 127 197 2; -#X msg 78 196 3; -#X floatatom 86 280 5 0 0 0 - - -; -#X connect 2 0 3 0; -#X connect 3 0 8 0; -#X connect 3 1 7 0; -#X connect 3 2 6 0; -#X connect 4 0 9 0; -#X connect 5 0 4 1; -#X connect 6 0 5 1; -#X connect 7 0 5 0; -#X connect 8 0 4 0; +#X obj 165 177 bng 25 250 50 0 empty empty empty -2 -8 1 10 -24198 +-1 -1; +#X obj 165 217 trigger bang bang bang; +#X msg 381 256 1; +#X msg 273 256 2; +#X msg 165 256 3; +#X obj 273 332 print ORDER; +#X obj 8 10 cnv 15 400 40 empty empty right_to_left_order 20 12 0 24 +-228992 -66577 0; +#X text 212 180 <-- click here \,; +#X text 10 65 In Pd \, you read a patch from right to left \, from +top to bottom. Objects also output from right to left; +#X text 89 380 then check the Pd window to see the order.; +#X connect 1 0 2 0; +#X connect 2 0 5 0; +#X connect 2 1 4 0; +#X connect 2 2 3 0; +#X connect 3 0 6 0; +#X connect 4 0 6 0; +#X connect 5 0 6 0; diff --git a/doc/tutorials/intro/0.execution_order.pd b/doc/tutorials/intro/audio_execution_order.pd index de421b11..de421b11 100644 --- a/doc/tutorials/intro/0.execution_order.pd +++ b/doc/tutorials/intro/audio_execution_order.pd diff --git a/doc/tutorials/intro/build_a_patch.pd b/doc/tutorials/intro/build_a_patch.pd new file mode 100644 index 00000000..769896d8 --- /dev/null +++ b/doc/tutorials/intro/build_a_patch.pd @@ -0,0 +1,23 @@ +#N canvas 476 37 643 580 12; +#X msg 134 443 menuclose; +#X obj 36 530 s pd-mon-nouveau-patch.pd; +#X obj 22 136 cnv 15 5 5 empty empty 1 5 0 0 20 -262144 -258699 0; +#X obj 23 210 cnv 15 5 5 empty empty 2 5 0 0 20 -262144 -258699 0; +#X obj 20 262 cnv 15 5 5 empty empty 3 5 0 0 20 -262144 -258699 0; +#X msg 60 105 \; pd filename mon-nouveau-patch.pd /tmp \; #N canvas +\; #X pop 1 \;; +#X text 14 16 Keeping true to the name "Pure Data" \, you can send +messages to Pd itself.; +#X text 13 69 Click these messages starting from the top:; +#X msg 76 251 symbolatom 20 100 0 0 0 0; +#X msg 92 317 connect 0 0 1 0; +#X msg 60 199 msg 20 27 symbol Hello_World!; +#X text 131 364 click on [symbol Hello_World!( in the new window; +#X text 243 442 now close the new window; +#X obj 20 327 cnv 15 5 5 empty empty 4 5 0 0 20 -262144 -258699 0; +#X obj 19 378 cnv 15 5 5 empty empty 5 5 0 0 20 -262144 -258699 0; +#X obj 18 453 cnv 15 5 5 empty empty 6 5 0 0 20 -262144 -258699 0; +#X connect 0 0 1 0; +#X connect 8 0 1 0; +#X connect 9 0 1 0; +#X connect 10 0 1 0; diff --git a/doc/tutorials/intro/gui_objects.pd b/doc/tutorials/intro/gui_objects.pd new file mode 100644 index 00000000..5d72a5b2 --- /dev/null +++ b/doc/tutorials/intro/gui_objects.pd @@ -0,0 +1,46 @@ +#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; +#X obj 30 102 tgl 15 1.04858e+06 empty \$2 empty 20 8 0 8 -262144 -1 +-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; +#X obj 254 87 vu 15 120 \$6 empty 35 8 0 8 -66577 -1 1 0; +#X obj 111 69 cnv 15 100 60 empty empty [canvas] 20 12 0 14 -233017 +-66577 1.04858e+06; +#X obj 126 149 vdl 15 1 4.79232e+06 8 \$9 \$9 empty 20 8 192 8 -262144 +-1 -1 0; +#X obj 341 136 nbx 5 14 -1e+37 1e+37 0 0 \$5 \$5 empty 45 7 0 10 -262144 +-1 -1 0 256; +#X text 8 22 Pd comes with a standard \, built-in set of GUI elements +\, which you can select from the "Put" menu.; +#X text 16 323 There are also some OS-native GUI elements available +; +#X obj 44 363 button OK; +#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]; +#X text 129 341 [popup]; +#X text 250 67 [vu]; +#X text 46 69 [bng]; +#X text 46 101 [tgl]; +#X text 21 280 [vslider]; +#X text 325 248 [hradio]; +#X text 325 278 [hslider]; +#X text 107 277 [vradio]; +#X obj 105 432 Scope~ 130 130 256 3 128 -1 1 0 0 0 0 102 255 51 135 +135 135 0; +#X text 337 118 [nbx]; diff --git a/doc/tutorials/intro/outlet_order.pd b/doc/tutorials/intro/outlet_order.pd new file mode 100644 index 00000000..f8ffe5dc --- /dev/null +++ b/doc/tutorials/intro/outlet_order.pd @@ -0,0 +1,13 @@ +#N canvas 0 22 454 304 12; +#X text 151 112 <-- click here \,; +#X obj 81 151 unpack float float float; +#X msg 81 112 1 2 3; +#X obj 8 10 cnv 15 400 40 empty empty outlet_order 20 12 0 24 -228992 +-66577 0; +#X obj 315 193 print first; +#X obj 197 193 print first; +#X obj 81 193 print first; +#X connect 1 0 6 0; +#X connect 1 1 5 0; +#X connect 1 2 4 0; +#X connect 2 0 1 0; diff --git a/doc/tutorials/intro/subpatches.pd b/doc/tutorials/intro/subpatches.pd new file mode 100644 index 00000000..154bae2d --- /dev/null +++ b/doc/tutorials/intro/subpatches.pd @@ -0,0 +1 @@ +#N canvas 0 22 454 304 12; |