aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/pd
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2002-10-22 23:16:30 +0000
committerThomas Grill <xovo@users.sourceforge.net>2002-10-22 23:16:30 +0000
commitc2645dc4003b1391aba9b387a79a66cff1e63d3e (patch)
tree1ea6dccb8011a8ff64efb7c2ecf9a22caad860b3 /externals/grill/py/pd
parentd62e56f4df9594f72ce501f5e19c974fd18e7295 (diff)
This commit was generated by cvs2svn to compensate for changes in r189,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=190
Diffstat (limited to 'externals/grill/py/pd')
-rw-r--r--externals/grill/py/pd/script-1.pd50
-rw-r--r--externals/grill/py/pd/sendrecv-1.pd25
-rw-r--r--externals/grill/py/pd/sendrecv-2.pd8
-rw-r--r--externals/grill/py/pd/sendrecv-3.pd5
-rw-r--r--externals/grill/py/pd/simple-1.pd41
-rw-r--r--externals/grill/py/pd/simple-2.pd37
-rw-r--r--externals/grill/py/pd/simple-3.pd27
-rw-r--r--externals/grill/py/pd/tcltk.pd18
-rw-r--r--externals/grill/py/pd/thread-1.pd47
9 files changed, 258 insertions, 0 deletions
diff --git a/externals/grill/py/pd/script-1.pd b/externals/grill/py/pd/script-1.pd
new file mode 100644
index 00000000..e143d5e8
--- /dev/null
+++ b/externals/grill/py/pd/script-1.pd
@@ -0,0 +1,50 @@
+#N canvas 297 17 672 523 12;
+#X obj 39 278 print;
+#X obj 345 251 print;
+#X msg 499 149 freakhole;
+#X msg 148 149 list H e l l o;
+#X msg 166 175 Hello friend;
+#X obj 42 460 print;
+#X msg 102 367 0 1 2 3 4;
+#X msg 197 367 5 67 3;
+#X obj 350 456 print;
+#X obj 326 365 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X obj 515 455 print;
+#X obj 514 386 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X msg 188 204 1 3;
+#X msg 345 155 help;
+#X msg 360 327 set ret1;
+#X msg 379 351 set ret2;
+#X text 434 326 functions can be set;
+#X msg 421 120 somewhere_past_mars;
+#X text 152 101 reload with new arguments;
+#X msg 40 104 reload 1 2 3;
+#X text 23 13 py/pyext - Python script objects \, (C)2002 Thomas Grill
+;
+#X text 21 42 This demonstrates simple scripting. See the script.py
+file.;
+#X obj 39 241 py script strcat;
+#X obj 43 424 py script addall;
+#X obj 350 420 py script;
+#X obj 516 419 py script ret3;
+#X obj 346 204 py script strlen;
+#X connect 2 0 26 1;
+#X connect 3 0 22 1;
+#X connect 4 0 22 1;
+#X connect 6 0 23 1;
+#X connect 7 0 23 1;
+#X connect 9 0 24 0;
+#X connect 11 0 25 0;
+#X connect 12 0 22 1;
+#X connect 13 0 26 0;
+#X connect 14 0 24 0;
+#X connect 15 0 24 0;
+#X connect 17 0 26 1;
+#X connect 19 0 22 0;
+#X connect 22 0 0 0;
+#X connect 23 0 5 0;
+#X connect 24 0 8 0;
+#X connect 25 0 10 0;
+#X connect 26 0 1 0;
diff --git a/externals/grill/py/pd/sendrecv-1.pd b/externals/grill/py/pd/sendrecv-1.pd
new file mode 100644
index 00000000..d2d4b50a
--- /dev/null
+++ b/externals/grill/py/pd/sendrecv-1.pd
@@ -0,0 +1,25 @@
+#N canvas 343 246 466 316 12;
+#X msg 125 52 reload mi ma;
+#X floatatom 48 173 5 0 0;
+#X floatatom 181 174 5 0 0;
+#X obj 181 198 s mi;
+#X floatatom 49 265 5 0 0;
+#X floatatom 181 266 5 0 0;
+#X obj 181 239 r ma;
+#X obj 48 197 s he;
+#X obj 49 238 r hu;
+#X text 233 51 reload with different args;
+#X msg 20 17 help;
+#X msg 19 49 doc;
+#X msg 58 49 doc+;
+#X obj 49 100 pyext sendrecv ex1 he hu;
+#X text 28 151 scroll here;
+#X text 176 152 or here;
+#X connect 0 0 13 0;
+#X connect 1 0 7 0;
+#X connect 2 0 3 0;
+#X connect 6 0 5 0;
+#X connect 8 0 4 0;
+#X connect 10 0 13 0;
+#X connect 11 0 13 0;
+#X connect 12 0 13 0;
diff --git a/externals/grill/py/pd/sendrecv-2.pd b/externals/grill/py/pd/sendrecv-2.pd
new file mode 100644
index 00000000..9f015b4c
--- /dev/null
+++ b/externals/grill/py/pd/sendrecv-2.pd
@@ -0,0 +1,8 @@
+#N canvas 133 322 454 304 12;
+#X obj 36 135 pyext sendrecv ex2 huha;
+#X floatatom 36 165 5 0 0;
+#X floatatom 35 38 5 0 0;
+#X obj 34 65 s huha;
+#X text 22 19 scroll here;
+#X connect 0 0 1 0;
+#X connect 2 0 3 0;
diff --git a/externals/grill/py/pd/sendrecv-3.pd b/externals/grill/py/pd/sendrecv-3.pd
new file mode 100644
index 00000000..0f42edfc
--- /dev/null
+++ b/externals/grill/py/pd/sendrecv-3.pd
@@ -0,0 +1,5 @@
+#N canvas 294 237 484 334 12;
+#X obj 283 258 pyext sendrecv ex3;
+#X obj 437 255 bng 25 250 50 0 empty ugh empty 0 -6 64 8 -258699 -1
+-1;
+#X connect 1 0 0 1;
diff --git a/externals/grill/py/pd/simple-1.pd b/externals/grill/py/pd/simple-1.pd
new file mode 100644
index 00000000..2d60db5b
--- /dev/null
+++ b/externals/grill/py/pd/simple-1.pd
@@ -0,0 +1,41 @@
+#N canvas 156 192 650 389 12;
+#X obj 53 123 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X floatatom 52 155 5 0 0;
+#X text 388 337 watch the console output!;
+#X msg 52 186 2 3 4;
+#X msg 277 131 ho;
+#X msg 233 155 lets;
+#X msg 283 190 go;
+#X msg 212 214 !!!;
+#X msg 205 113 hey;
+#X obj 183 301 pyext simple ex1;
+#X msg 434 114 onearg 123;
+#X msg 456 167 threeargs 9 8 7;
+#X msg 463 196 varargs 8 4 2 1;
+#X msg 447 140 twoargs 41 15;
+#X msg 453 239 twoargs 1 2 3;
+#X msg 71 299 help;
+#X text 16 15 py/pyext - Python script objects \, (C)2002 Thomas Grill
+;
+#X text 15 57 This demonstrates message handling. See the simple.py
+file.;
+#X text 232 322 file class;
+#X msg 70 324 doc;
+#X msg 106 325 doc+;
+#X connect 0 0 9 1;
+#X connect 1 0 9 1;
+#X connect 3 0 9 1;
+#X connect 4 0 9 2;
+#X connect 5 0 9 2;
+#X connect 6 0 9 2;
+#X connect 7 0 9 2;
+#X connect 8 0 9 2;
+#X connect 10 0 9 3;
+#X connect 11 0 9 3;
+#X connect 12 0 9 3;
+#X connect 13 0 9 3;
+#X connect 14 0 9 3;
+#X connect 15 0 9 0;
+#X connect 19 0 9 0;
+#X connect 20 0 9 0;
diff --git a/externals/grill/py/pd/simple-2.pd b/externals/grill/py/pd/simple-2.pd
new file mode 100644
index 00000000..e20be506
--- /dev/null
+++ b/externals/grill/py/pd/simple-2.pd
@@ -0,0 +1,37 @@
+#N canvas 225 210 689 411 12;
+#X floatatom 251 106 5 0 0;
+#X text 409 291 watch the console output!;
+#X msg 55 213 help;
+#X text 15 57 This demonstrates message handling. See the simple.py
+file.;
+#X msg 54 238 doc;
+#X msg 90 239 doc+;
+#X floatatom 308 106 5 0 0;
+#X msg 218 228 msg 2;
+#X obj 172 282 pyext simple ex2;
+#X floatatom 172 327 5 0 0;
+#X floatatom 289 328 5 0 0;
+#X text 17 22 py/pyext - Python script objects \, (C)2002 Thomas Grill
+;
+#X msg 149 197 msg 1 3;
+#X msg 283 213 msg a b;
+#X msg 169 167 hello;
+#X msg 242 173 hello;
+#X msg 315 172 msg;
+#X msg 374 147 hello 3;
+#X text 418 172 special case: 'hello' handler doesn't like args \,
+so _anything_ is called!;
+#X connect 0 0 8 1;
+#X connect 2 0 8 0;
+#X connect 4 0 8 0;
+#X connect 5 0 8 0;
+#X connect 6 0 8 2;
+#X connect 7 0 8 2;
+#X connect 8 0 9 0;
+#X connect 8 1 10 0;
+#X connect 12 0 8 1;
+#X connect 13 0 8 3;
+#X connect 14 0 8 1;
+#X connect 15 0 8 3;
+#X connect 16 0 8 2;
+#X connect 17 0 8 3;
diff --git a/externals/grill/py/pd/simple-3.pd b/externals/grill/py/pd/simple-3.pd
new file mode 100644
index 00000000..70416ad0
--- /dev/null
+++ b/externals/grill/py/pd/simple-3.pd
@@ -0,0 +1,27 @@
+#N canvas 307 249 546 386 12;
+#X msg 88 279 help;
+#X text 15 50 This demonstrates message handling. See the simple.py
+file.;
+#X msg 87 304 doc;
+#X msg 123 305 doc+;
+#X floatatom 288 345 5 0 0;
+#X text 17 22 py/pyext - Python script objects \, (C)2002 Thomas Grill
+;
+#X floatatom 316 119 5 0 0;
+#X floatatom 399 119 5 0 0;
+#X obj 225 279 pyext simple ex3 1;
+#X msg 39 195 reload.;
+#X msg 39 223 reload -10;
+#X text 110 194 reload script and keep arguments;
+#X text 128 224 reload script with new arguments;
+#X text 281 140 triggers;
+#X text 340 344 result;
+#X text 410 140 sets argument;
+#X connect 0 0 8 0;
+#X connect 2 0 8 0;
+#X connect 3 0 8 0;
+#X connect 6 0 8 1;
+#X connect 7 0 8 2;
+#X connect 8 0 4 0;
+#X connect 9 0 8 0;
+#X connect 10 0 8 0;
diff --git a/externals/grill/py/pd/tcltk.pd b/externals/grill/py/pd/tcltk.pd
new file mode 100644
index 00000000..c1c3b246
--- /dev/null
+++ b/externals/grill/py/pd/tcltk.pd
@@ -0,0 +1,18 @@
+#N canvas 156 192 610 329 12;
+#X obj 328 118 bng 25 250 50 0 empty empty empty 0 -6 0 8 -258699 -1
+-1;
+#X msg 94 128 help;
+#X text 16 15 py/pyext - Python script objects \, (C)2002 Thomas Grill
+;
+#X msg 139 127 doc;
+#X text 14 49 This demonstrates a tcl/tk dialog. See the tcltk.py file.
+;
+#X text 10 263 Note: When used concurrently with audio \, you will
+notice clicks. This Tk window is NOT called over a net socket \, like
+PD is;
+#X obj 206 169 pyext tcltk myapp;
+#X obj 206 200 print tcltk;
+#X connect 0 0 6 1;
+#X connect 1 0 6 0;
+#X connect 3 0 6 0;
+#X connect 6 0 7 0;
diff --git a/externals/grill/py/pd/thread-1.pd b/externals/grill/py/pd/thread-1.pd
new file mode 100644
index 00000000..892c37ce
--- /dev/null
+++ b/externals/grill/py/pd/thread-1.pd
@@ -0,0 +1,47 @@
+#N canvas 307 249 576 388 12;
+#X msg 38 265 help;
+#X msg 37 290 doc;
+#X msg 73 291 doc+;
+#X floatatom 145 323 5 0 0;
+#X text 16 14 py/pyext - Python script objects \, (C)2002 Thomas Grill
+;
+#X text 14 44 This demonstrates threading. See the threads.py file.
+;
+#X obj 145 279 pyext threads ex1;
+#X obj 140 216 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X msg 140 236 detach \$1;
+#X floatatom 253 324 5 0 0;
+#X obj 275 123 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1
+-1;
+#X obj 146 127 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1
+-1;
+#X obj 146 154 t b b b;
+#X obj 275 150 t b b b;
+#X obj 289 179 1;
+#X obj 160 181 0;
+#X text 87 87 without threads;
+#X text 113 105 blocking;
+#X text 251 85 with threads;
+#X text 252 102 non-blocking;
+#X text 178 345 watch that!;
+#X msg 414 127 stop;
+#X text 384 106 you can even stop it;
+#X connect 0 0 6 0;
+#X connect 1 0 6 0;
+#X connect 2 0 6 0;
+#X connect 6 0 3 0;
+#X connect 6 1 9 0;
+#X connect 7 0 8 0;
+#X connect 8 0 6 0;
+#X connect 10 0 13 0;
+#X connect 11 0 12 0;
+#X connect 12 0 6 1;
+#X connect 12 1 6 2;
+#X connect 12 2 15 0;
+#X connect 13 0 6 1;
+#X connect 13 1 6 2;
+#X connect 13 2 14 0;
+#X connect 14 0 7 0;
+#X connect 15 0 7 0;
+#X connect 21 0 6 0;