aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/pd
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2002-11-25 22:37:04 +0000
committerThomas Grill <xovo@users.sourceforge.net>2002-11-25 22:37:04 +0000
commitc6620995f41c40560fee52e12b8629244d6d793e (patch)
tree41449d94e018cab0b713653c98c32bcc5eb28674 /externals/grill/flext/tutorial/pd
parenta55a5773570e56a1fb59887f1215f3d05a055700 (diff)
""
svn path=/trunk/; revision=244
Diffstat (limited to 'externals/grill/flext/tutorial/pd')
-rw-r--r--externals/grill/flext/tutorial/pd/ex-attr1.pd34
-rw-r--r--externals/grill/flext/tutorial/pd/ex-attr2.pd49
-rw-r--r--externals/grill/flext/tutorial/pd/ex-lib1.pd51
3 files changed, 134 insertions, 0 deletions
diff --git a/externals/grill/flext/tutorial/pd/ex-attr1.pd b/externals/grill/flext/tutorial/pd/ex-attr1.pd
new file mode 100644
index 00000000..97bfad84
--- /dev/null
+++ b/externals/grill/flext/tutorial/pd/ex-attr1.pd
@@ -0,0 +1,34 @@
+#N canvas 70 150 690 461 12;
+#X msg 160 85 help;
+#X obj 59 321 attr1 @arg 3;
+#X text 114 298 attribute as a creation arg;
+#X msg 160 123 getattributes;
+#X text 167 344 there is one additional outlet;
+#X text 167 359 for all attribute-enabled objects;
+#X obj 150 392 print;
+#X msg 160 166 getarg;
+#X text 12 117 trigger output;
+#X msg 160 228 arg \$1;
+#X text 230 216 set attribute "arg";
+#X text 295 123 query object attributes (watch console);
+#X text 228 167 query attribute "arg" (watch console);
+#X obj 16 8 cnv 15 550 40 empty empty attr1 10 22 32 24 -260818 -1
+0;
+#X text 175 8 flext tutorial \, (C)2002 Thomas Grill;
+#X text 175 28 http://www.parasitaere-kapazitaeten.net;
+#X text 206 85 get some "help";
+#X text 26 413 result;
+#X obj 23 139 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 32 12 -261681
+-1 -1 49 256;
+#X obj 29 395 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 32 12
+-228992 -1 -1 52 256;
+#X obj 161 206 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 32 12 -261681
+-1 -1 0 256;
+#X connect 0 0 1 0;
+#X connect 1 0 19 0;
+#X connect 1 1 6 0;
+#X connect 3 0 1 0;
+#X connect 7 0 1 0;
+#X connect 9 0 1 0;
+#X connect 18 0 1 0;
+#X connect 20 0 9 0;
diff --git a/externals/grill/flext/tutorial/pd/ex-attr2.pd b/externals/grill/flext/tutorial/pd/ex-attr2.pd
new file mode 100644
index 00000000..4ac89a0e
--- /dev/null
+++ b/externals/grill/flext/tutorial/pd/ex-attr2.pd
@@ -0,0 +1,49 @@
+#N canvas 364 29 605 442 12;
+#X msg 21 84 help;
+#X msg 23 119 getattributes;
+#X text 265 350 there is one additional outlet;
+#X text 265 365 for all attribute-enabled objects;
+#X obj 247 389 print;
+#X msg 23 162 getarg;
+#X text 67 84 get some help;
+#X text 15 314 trigger output;
+#X msg 23 222 arg \$1;
+#X text 160 118 query object attributes (watch console);
+#X msg 96 162 getop;
+#X obj 159 330 attr2 @op +;
+#X text 255 161 query attributes;
+#X text 333 210 set attributes;
+#X msg 169 200 op +;
+#X msg 168 225 op -;
+#X msg 219 200 op *;
+#X msg 269 224 op **;
+#X msg 269 200 op =;
+#X msg 219 224 op /;
+#X msg 158 162 getresult;
+#X obj 16 8 cnv 15 550 40 empty empty attr2 10 22 32 24 -260818 -1
+0;
+#X text 173 8 flext tutorial \, (C)2002 Thomas Grill;
+#X text 173 28 http://www.parasitaere-kapazitaeten.net;
+#X text 91 391 result;
+#X obj 23 336 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 32 12 -261681
+-1 -1 -55 256;
+#X obj 23 201 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 96 12 -261681
+-1 -1 1 256;
+#X obj 151 391 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 32
+12 -228992 -1 -1 -54 256;
+#X connect 0 0 11 0;
+#X connect 1 0 11 0;
+#X connect 5 0 11 0;
+#X connect 8 0 11 0;
+#X connect 10 0 11 0;
+#X connect 11 0 27 0;
+#X connect 11 1 4 0;
+#X connect 14 0 11 0;
+#X connect 15 0 11 0;
+#X connect 16 0 11 0;
+#X connect 17 0 11 0;
+#X connect 18 0 11 0;
+#X connect 19 0 11 0;
+#X connect 20 0 11 0;
+#X connect 25 0 11 0;
+#X connect 26 0 8 0;
diff --git a/externals/grill/flext/tutorial/pd/ex-lib1.pd b/externals/grill/flext/tutorial/pd/ex-lib1.pd
new file mode 100644
index 00000000..83311593
--- /dev/null
+++ b/externals/grill/flext/tutorial/pd/ex-lib1.pd
@@ -0,0 +1,51 @@
+#N canvas 120 205 580 295 12;
+#X msg 106 125 arg \$1;
+#X obj 34 161 lib1.+ @arg 3;
+#X text 105 77 set arg;
+#X msg 289 124 arg \$1;
+#X text 288 78 set arg;
+#X msg 476 127 arg \$1;
+#X text 475 81 set arg;
+#X obj 396 165 lib1.* @arg 2;
+#X obj 214 163 lib1.- @arg 7;
+#X text 29 76 trigger;
+#X text 211 80 trigger;
+#X text 395 81 trigger;
+#X obj 16 8 cnv 15 550 40 empty empty lib1 10 22 0 24 -260818 -1 0
+;
+#X text 173 8 flext tutorial \, (C)2002 Thomas Grill;
+#X text 173 28 http://www.parasitaere-kapazitaeten.net;
+#X obj 34 100 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681
+-1 -1 0 256;
+#X obj 105 99 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681
+-1 -1 0 256;
+#X obj 216 100 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681
+-1 -1 0 256;
+#X obj 288 102 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681
+-1 -1 0 256;
+#X obj 398 102 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681
+-1 -1 0 256;
+#X obj 476 105 nbx 4 16 -999 999 0 0 empty empty empty 0 -6 0 12 -261681
+-1 -1 0 256;
+#X obj 34 194 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12
+-228992 -1 -1 0 256;
+#X obj 214 194 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12
+-228992 -1 -1 0 256;
+#X obj 396 194 nbx 7 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 12
+-228992 -1 -1 0 256;
+#X text 26 245 In order to use the objects the library must have been
+;
+#X text 27 263 loaded at PD startup (with the "-lib lib1" argument)
+;
+#X connect 0 0 1 0;
+#X connect 1 0 21 0;
+#X connect 3 0 8 0;
+#X connect 5 0 7 0;
+#X connect 7 0 23 0;
+#X connect 8 0 22 0;
+#X connect 15 0 1 0;
+#X connect 16 0 0 0;
+#X connect 17 0 8 0;
+#X connect 18 0 3 0;
+#X connect 19 0 7 0;
+#X connect 20 0 5 0;