aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/pd
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-11-12 03:35:26 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-11-12 03:35:26 +0000
commit7e747f8cd9634260c3bbcce628a481d72e5cab3c (patch)
tree8d75ce32422af11d1517cd4378e196151185fd17 /externals/grill/flext/tutorial/pd
parent1a27ba8f28e0915e6abc102e2634d99d41fd59fb (diff)
""
svn path=/trunk/; revision=1179
Diffstat (limited to 'externals/grill/flext/tutorial/pd')
-rw-r--r--externals/grill/flext/tutorial/pd/ex-bind1.pd55
-rw-r--r--externals/grill/flext/tutorial/pd/ex-buffer1.pd77
2 files changed, 132 insertions, 0 deletions
diff --git a/externals/grill/flext/tutorial/pd/ex-bind1.pd b/externals/grill/flext/tutorial/pd/ex-bind1.pd
new file mode 100644
index 00000000..14ee67dd
--- /dev/null
+++ b/externals/grill/flext/tutorial/pd/ex-bind1.pd
@@ -0,0 +1,55 @@
+#N canvas 405 36 588 396 12;
+#X obj 15 8 cnv 15 550 40 empty empty bind1 10 22 0 24 -260818 -1 0
+;
+#X text 175 28 http://www.parasitaere-kapazitaeten.net;
+#X text 175 8 flext tutorial \, (C)2003 Thomas Grill;
+#X obj 14 330 bind1;
+#X text 48 72 bind object to symbol;
+#X msg 50 94 bind sym1;
+#X msg 154 94 bind sym2;
+#X msg 48 126 unbind sym1;
+#X msg 153 125 unbind sym2;
+#X text 43 159 bind object to symbol;
+#X msg 45 181 bindmethod sym1;
+#X msg 47 213 unbindmethod sym1;
+#X msg 194 183 bindmethod sym2;
+#X msg 197 214 unbindmethod sym2;
+#X obj 13 359 print OUT;
+#X text 95 361 watch the console!;
+#X obj 351 103 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0
+10 -262131 -1 -1 0 256;
+#X obj 446 103 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0
+10 -262131 -1 -1 0 256;
+#X msg 351 122 test \$1;
+#X msg 446 122 test \$1;
+#X msg 521 100 1 2 3;
+#X obj 351 155 s sym1;
+#X obj 446 155 s sym2;
+#X text 349 67 send message to bound;
+#X text 350 81 object or method;
+#X obj 345 272 r sym3;
+#X text 344 250 receive forwarded message;
+#X obj 347 299 print MSG;
+#X text 47 258 receive forwarded message;
+#X msg 48 279 sym3 myforward;
+#X obj 191 280 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0
+10 -262131 -1 -1 0 256;
+#X msg 190 297 sym3 \$1;
+#X connect 3 0 14 0;
+#X connect 5 0 3 0;
+#X connect 6 0 3 0;
+#X connect 7 0 3 0;
+#X connect 8 0 3 0;
+#X connect 10 0 3 0;
+#X connect 11 0 3 0;
+#X connect 12 0 3 0;
+#X connect 13 0 3 0;
+#X connect 16 0 18 0;
+#X connect 17 0 19 0;
+#X connect 18 0 21 0;
+#X connect 19 0 22 0;
+#X connect 20 0 22 0;
+#X connect 25 0 27 0;
+#X connect 29 0 3 1;
+#X connect 30 0 31 0;
+#X connect 31 0 3 1;
diff --git a/externals/grill/flext/tutorial/pd/ex-buffer1.pd b/externals/grill/flext/tutorial/pd/ex-buffer1.pd
new file mode 100644
index 00000000..a1b308fb
--- /dev/null
+++ b/externals/grill/flext/tutorial/pd/ex-buffer1.pd
@@ -0,0 +1,77 @@
+#N canvas 94 140 759 485 12;
+#X obj 15 8 cnv 15 550 40 empty empty buffer1 10 22 0 24 -260818 -1
+0;
+#X text 182 28 http://www.parasitaere-kapazitaeten.net;
+#X text 182 8 flext tutorial \, (C)2003 Thomas Grill;
+#N canvas 0 0 450 300 graph1 0;
+#X array buf1 100 float 1;
+#A 0 0 0 0.17 0.0728567 0.244286 1.06 0.358572 0.394287 1.06 0.358572
+1.06 0.387144 0.387144 1.06 0.387144 1.06 0.387144 1.06 1.06 0.387144
+1.06 0.387144 0.387144 1.06 0.387144 1.06 0.372858 1.06 1.06 0.344286
+1.06 0.330001 0.330001 1.06 0.330001 1.06 0.287143 0.69 1.06 0.268096
+1.06 0.258572 1.06 1.06 0.172857 1.06 0.144286 1.06 0.69 0.0585709
+1.06 0.0442851 1.06 0.69 -0.120001 1.06 0 1.06 0.69 0 1.06 0 1.06 0.69
+0 0.69 0 1.06 0.69 0 1.06 0 1.06 0.69 0 0.69 0 0.17 0.69 0 0.69 0 0.17
+0.69 0 0.69 0 0.17 0.69 0 0.69 0 0.17 0.69 0 0.69 0 0.17 0.69 0;
+#X coords 0 1 99 -1 200 140 1;
+#X restore 543 69 graph;
+#N canvas 0 0 450 300 graph1 0;
+#X array buf2 300 float 1;
+#A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0;
+#X coords 0 1 299 -1 200 140 1;
+#X restore 543 214 graph;
+#X obj 28 385;
+#X obj 28 426 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0
+10 -262131 -1 -1 0 256;
+#X text 23 443 peek value;
+#X obj 127 421 print A;
+#X text 127 442 print attributes to the console;
+#X msg 45 66 set;
+#X msg 69 118 set buf1;
+#X msg 149 118 buffer buf2;
+#X msg 69 149 getbuffer;
+#X text 154 149 query current buffer;
+#X text 77 63 set no buffer;
+#X text 72 98 set buffer;
+#X msg 88 205 frames 1000;
+#X msg 89 233 getframes;
+#X text 187 205 set buffer length;
+#X text 172 233 query buffer length;
+#X msg 20 285 getchannels;
+#X text 27 310 always 1 for PD!;
+#X obj 235 301 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0
+10 -262131 -1 -1 0 256;
+#X obj 340 301 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0
+10 -262131 -1 -1 72 256;
+#X obj 398 301 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0
+10 -262131 -1 -1 1.06 256;
+#X obj 338 324 pack 0 0;
+#X msg 339 351 poke \$1 \$2 0;
+#X msg 234 351 peek \$1 0;
+#X text 234 278 get sample;
+#X text 342 278 set sample;
+#X text 352 383 the change is not immediately seen on PD;
+#X text 354 396 (you'll have to draw in the window);
+#X connect 5 0 6 0;
+#X connect 5 1 8 0;
+#X connect 10 0 5 0;
+#X connect 11 0 5 0;
+#X connect 12 0 5 0;
+#X connect 13 0 5 0;
+#X connect 17 0 5 0;
+#X connect 18 0 5 0;
+#X connect 21 0 5 0;
+#X connect 23 0 28 0;
+#X connect 24 0 26 0;
+#X connect 25 0 26 1;
+#X connect 26 0 27 0;
+#X connect 27 0 5 0;
+#X connect 28 0 5 0;