From 3e0446e7fda10c3d85a628b8c1effaa5bf7f5529 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 14 Mar 2005 04:58:13 +0000 Subject: fixes for OSX docs optimizations and fixes use optimized version optimized function calls adjust pd and py files for correct argument passing more optimizations svn path=/trunk/; revision=2627 --- externals/grill/py/pd/sendrecv-1.pd | 66 +++++++++---------- externals/grill/py/pd/sig-1.pd | 56 ++++++++--------- externals/grill/py/pd/thread-1.pd | 122 ++++++++++++++++++------------------ 3 files changed, 123 insertions(+), 121 deletions(-) (limited to 'externals/grill/py/pd') diff --git a/externals/grill/py/pd/sendrecv-1.pd b/externals/grill/py/pd/sendrecv-1.pd index 02ac052a..c2b8a500 100644 --- a/externals/grill/py/pd/sendrecv-1.pd +++ b/externals/grill/py/pd/sendrecv-1.pd @@ -1,33 +1,33 @@ -#N canvas 145 126 654 329 12; -#X msg 125 81 reload mi ma; -#X floatatom 48 238 5 0 0 0 - - -; -#X floatatom 297 239 5 0 0 0 - - -; -#X obj 297 263 s mi; -#X floatatom 143 265 5 0 0 0 - - -; -#X floatatom 382 267 5 0 0 0 - - -; -#X obj 382 240 r ma; -#X obj 48 262 s he; -#X obj 143 238 r hu; -#X text 233 80 reload with different args; -#X msg 20 82 help; -#X msg 19 114 doc; -#X msg 58 114 doc+; -#X obj 49 165 pyext sendrecv ex1 he hu; -#X text 30 218 scroll here; -#X text 292 219 or here; -#X obj 16 13 cnv 15 600 40 empty empty py/pyext 10 22 0 24 -260818 --1 0; -#X msg 202 128 bind; -#X msg 249 129 unbind; -#X text 213 16 Python script objects \, (C)2003-2005 Thomas Grill; -#X text 213 32 http://grrrr.org/ext; -#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; -#X connect 17 0 13 1; -#X connect 18 0 13 1; +#N canvas 145 126 658 333 12; +#X msg 125 81 reload mi ma; +#X floatatom 48 238 5 0 0 0 - - -; +#X floatatom 297 239 5 0 0 0 - - -; +#X obj 297 263 s mi; +#X floatatom 143 265 5 0 0 0 - - -; +#X floatatom 382 267 5 0 0 0 - - -; +#X obj 382 240 r ma; +#X obj 48 262 s he; +#X obj 143 238 r hu; +#X text 247 81 reload with different args; +#X msg 20 82 help; +#X msg 19 114 doc; +#X msg 58 114 doc+; +#X obj 49 165 pyext sendrecv ex1 he hu; +#X text 30 218 scroll here; +#X text 292 219 or here; +#X obj 16 13 cnv 15 600 40 empty empty py/pyext 10 22 0 24 -260818 +-1 0; +#X msg 202 128 bind; +#X msg 249 129 unbind; +#X text 213 16 Python script objects \, (C)2003-2005 Thomas Grill; +#X text 213 32 http://grrrr.org/ext; +#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; +#X connect 17 0 13 1; +#X connect 18 0 13 1; diff --git a/externals/grill/py/pd/sig-1.pd b/externals/grill/py/pd/sig-1.pd index aaba2fc7..88d38e89 100644 --- a/externals/grill/py/pd/sig-1.pd +++ b/externals/grill/py/pd/sig-1.pd @@ -1,28 +1,28 @@ -#N canvas 56 67 651 303 12; -#X obj 56 234 dac~; -#X msg 523 211 \; pd dsp 1; -#X obj 524 184 loadbang; -#X obj 194 114 hsl 128 15 0.01 1 1 1 empty empty gain -2 -6 0 8 -225271 --1 -1 4400 1; -#X obj 89 116 noise~; -#X msg 28 117 reload; -#X obj 16 13 cnv 15 600 40 empty empty py/pyext 10 22 0 24 -260818 --1 0; -#X text 213 32 http://grrrr.org/ext; -#X text 213 16 Python script objects \, (C)2003-2005 Thomas Grill; -#X text 17 66 This demonstrates signal support. See the sig.py file. -; -#X obj 191 131 nbx 5 14 0.001 1 1 0 empty empty empty 0 -6 0 10 -225271 --1 -1 0.0493075 256; -#X obj 67 181 pyext~ 0 0 1 1 sig gain; -#X msg 192 148 set gain \$1; -#X text 123 202 message inlets \, outlets; -#X text 123 217 signal inlets \, outlets; -#X connect 2 0 1 0; -#X connect 3 0 10 0; -#X connect 4 0 11 0; -#X connect 5 0 11 0; -#X connect 10 0 12 0; -#X connect 11 0 0 0; -#X connect 11 0 0 1; -#X connect 12 0 11 0; +#N canvas 52 147 659 311 12; +#X obj 56 234 dac~; +#X msg 523 211 \; pd dsp 1; +#X obj 524 184 loadbang; +#X obj 194 114 hsl 128 15 0.01 1 1 1 empty empty gain -2 -6 0 8 -225271 +-1 -1 0 1; +#X obj 89 116 noise~; +#X msg 28 117 reload; +#X obj 16 13 cnv 15 600 40 empty empty py/pyext 10 22 0 24 -260818 +-1 0; +#X text 213 32 http://grrrr.org/ext; +#X text 213 16 Python script objects \, (C)2003-2005 Thomas Grill; +#X text 17 66 This demonstrates signal support. See the sig.py file. +; +#X obj 191 131 nbx 5 14 0.001 1 1 0 empty empty empty 0 -6 0 10 -225271 +-1 -1 0.001 256; +#X msg 192 148 set gain \$1; +#X text 123 202 message inlets \, outlets; +#X text 123 217 signal inlets \, outlets; +#X obj 67 181 pyext~ 0 0 1 1 sig gain2; +#X connect 2 0 1 0; +#X connect 3 0 10 0; +#X connect 4 0 14 0; +#X connect 5 0 14 0; +#X connect 10 0 11 0; +#X connect 11 0 14 0; +#X connect 14 0 0 0; +#X connect 14 0 0 1; diff --git a/externals/grill/py/pd/thread-1.pd b/externals/grill/py/pd/thread-1.pd index e46f6521..f2160cae 100644 --- a/externals/grill/py/pd/thread-1.pd +++ b/externals/grill/py/pd/thread-1.pd @@ -1,60 +1,62 @@ -#N canvas 135 178 648 405 12; -#X msg 35 292 help; -#X msg 34 317 doc; -#X msg 70 318 doc+; -#X floatatom 142 340 5 0 0 0 - - -; -#X text 17 66 This demonstrates threading. See the threads.py file. -; -#X obj 137 243 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 -1; -#X msg 137 263 detach \$1; -#X floatatom 250 341 5 0 0 0 - - -; -#X obj 272 150 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 --1; -#X obj 143 154 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 --1; -#X obj 143 181 t b b b; -#X obj 272 177 t b b b; -#X obj 286 206 1; -#X obj 157 208 0; -#X text 84 114 without threads; -#X text 248 112 with threads; -#X text 175 362 watch that!; -#X msg 421 264 stop; -#X text 391 243 you can even stop it; -#X obj 142 306 pyext threads ex1; -#X text 90 128 - blocking!! -; -#X obj 16 13 cnv 15 600 40 empty empty py/pyext 10 22 0 24 -260818 --1 0; -#X obj 407 150 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 --1; -#X obj 407 177 t b b b; -#X text 383 112 with threads; -#X text 249 129 non-blocking; -#X text 384 129 parallel; -#X obj 445 205 2; -#X text 213 32 http://grrrr.org/ext; -#X text 213 16 Python script objects \, (C)2003-2005 Thomas Grill; -#X connect 0 0 19 0; -#X connect 1 0 19 0; -#X connect 2 0 19 0; -#X connect 5 0 6 0; -#X connect 6 0 19 0; -#X connect 8 0 11 0; -#X connect 9 0 10 0; -#X connect 10 0 19 1; -#X connect 10 1 19 2; -#X connect 10 2 13 0; -#X connect 11 0 19 1; -#X connect 11 1 19 2; -#X connect 11 2 12 0; -#X connect 12 0 5 0; -#X connect 13 0 5 0; -#X connect 17 0 19 0; -#X connect 19 0 3 0; -#X connect 19 1 7 0; -#X connect 22 0 23 0; -#X connect 23 0 19 1; -#X connect 23 1 19 2; -#X connect 23 2 27 0; -#X connect 27 0 5 0; +#N canvas 135 178 652 409 12; +#X msg 35 292 help; +#X msg 34 317 doc; +#X msg 70 318 doc+; +#X floatatom 142 340 5 0 0 0 - - -; +#X text 17 66 This demonstrates threading. See the threads.py file. +; +#X obj 137 243 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 2 +2; +#X msg 137 263 detach \$1; +#X floatatom 250 341 5 0 0 0 - - -; +#X obj 272 150 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 +-1; +#X obj 143 154 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 +-1; +#X obj 143 181 t b b b; +#X obj 272 177 t b b b; +#X obj 286 206 1; +#X obj 157 208 0; +#X text 84 114 without threads; +#X text 248 112 with threads; +#X text 175 362 watch that!; +#X msg 421 264 stop; +#X text 391 243 you can even stop it; +#X obj 142 306 pyext threads ex1; +#X text 90 128 - blocking!! -; +#X obj 16 13 cnv 15 600 40 empty empty py/pyext 10 22 0 24 -260818 +-1 0; +#X obj 407 150 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 +-1; +#X obj 407 177 t b b b; +#X text 383 112 with threads; +#X text 249 129 non-blocking; +#X text 384 129 parallel; +#X obj 445 205 2; +#X text 213 32 http://grrrr.org/ext; +#X text 213 16 Python script objects \, (C)2003-2005 Thomas Grill; +#X msg 44 195 reload; +#X connect 0 0 19 0; +#X connect 1 0 19 0; +#X connect 2 0 19 0; +#X connect 5 0 6 0; +#X connect 6 0 19 0; +#X connect 8 0 11 0; +#X connect 9 0 10 0; +#X connect 10 0 19 1; +#X connect 10 1 19 2; +#X connect 10 2 13 0; +#X connect 11 0 19 1; +#X connect 11 1 19 2; +#X connect 11 2 12 0; +#X connect 12 0 5 0; +#X connect 13 0 5 0; +#X connect 17 0 19 0; +#X connect 19 0 3 0; +#X connect 19 1 7 0; +#X connect 22 0 23 0; +#X connect 23 0 19 1; +#X connect 23 1 19 2; +#X connect 23 2 27 0; +#X connect 27 0 5 0; +#X connect 30 0 19 0; -- cgit v1.2.1