Update of /cvsroot/pure-data/externals/grill/py/pd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22152/pd
Modified Files: builtins-1.pd methods-1.pd methods-2.pd Log Message: corrected Python object propagation (attribute "py") and adjusted help files better exception handling and error message much better detach method handling (one thread for all object instances) better definition of output values (atoms, lists, anythings)
Index: builtins-1.pd =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/pd/builtins-1.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** builtins-1.pd 9 Jul 2005 13:03:34 -0000 1.1 --- builtins-1.pd 20 Jul 2005 08:11:17 -0000 1.2 *************** *** 1,4 **** ! #N canvas 327 349 706 421 12; ! #X obj 36 241 py .range @xlate 0; #X floatatom 35 356 5 0 0 0 - - -; #X obj 35 323 py .sum; --- 1,4 ---- ! #N canvas 602 394 710 425 12; ! #X obj 36 241 py .range @py 1; #X floatatom 35 356 5 0 0 0 - - -; #X obj 35 323 py .sum; *************** *** 8,29 **** #X text 235 32 http://grrrr.org/ext; #X obj 36 159 nbx 5 14 -1e+037 1e+037 0 1 empty empty min 0 -6 0 10 ! -262131 -1 -1 38 256; #X obj 95 159 nbx 5 14 -1e+037 1e+037 0 1 empty empty max 0 -6 0 10 ! -262131 -1 -1 100 256; #X obj 154 159 nbx 5 14 1 100000 1 1 empty empty step 0 -6 0 10 -262131 ! -1 -1 1 256; ! #N canvas 0 0 462 312 pak3 0; ! #X obj 34 26 inlet; ! #X obj 81 28 inlet; ! #X obj 129 28 inlet; #X obj 36 158 outlet; #X obj 36 123 pack 0 0 0; ! #X obj 61 78 t b f; ! #X obj 108 80 t b f; #X obj 208 46 loadbang; #X obj 208 73 1; ! #X connect 0 0 4 0; ! #X connect 1 0 5 0; ! #X connect 2 0 6 0; #X connect 4 0 3 0; #X connect 5 0 4 0; --- 8,32 ---- #X text 235 32 http://grrrr.org/ext; #X obj 36 159 nbx 5 14 -1e+037 1e+037 0 1 empty empty min 0 -6 0 10 ! -262131 -1 -1 51 256; #X obj 95 159 nbx 5 14 -1e+037 1e+037 0 1 empty empty max 0 -6 0 10 ! -262131 -1 -1 131 256; #X obj 154 159 nbx 5 14 1 100000 1 1 empty empty step 0 -6 0 10 -262131 ! -1 -1 6.61169 256; ! #N canvas 0 0 466 316 pak3 0; ! #X obj 22 25 inlet; ! #X obj 81 26 inlet; ! #X obj 136 26 inlet; #X obj 36 158 outlet; #X obj 36 123 pack 0 0 0; ! #X obj 78 71 t b f; ! #X obj 133 73 t b f; #X obj 208 46 loadbang; #X obj 208 73 1; ! #X obj 23 53 int; ! #X obj 135 51 int; ! #X obj 80 50 int; ! #X connect 0 0 9 0; ! #X connect 1 0 11 0; ! #X connect 2 0 10 0; #X connect 4 0 3 0; #X connect 5 0 4 0; *************** *** 33,37 **** #X connect 7 0 8 0; #X connect 8 0 4 2; ! #X restore 36 195 pd pak3; #X text 115 240 construct a Python list; #X text 78 282 Python object pointer is propagated to next object; --- 36,43 ---- #X connect 7 0 8 0; #X connect 8 0 4 2; ! #X connect 9 0 4 0; ! #X connect 10 0 6 0; ! #X connect 11 0 5 0; ! #X restore 36 190 pd pak3; #X text 115 240 construct a Python list; #X text 78 282 Python object pointer is propagated to next object;
Index: methods-1.pd =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/pd/methods-1.pd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** methods-1.pd 18 Jul 2005 18:03:11 -0000 1.2 --- methods-1.pd 20 Jul 2005 08:11:17 -0000 1.3 *************** *** 1,3 **** ! #N canvas 540 469 718 353 12; #X obj 16 13 cnv 15 650 40 empty empty py/pyext 10 22 0 24 -260818 -1 0; --- 1,3 ---- ! #N canvas 540 469 722 357 12; #X obj 16 13 cnv 15 650 40 empty empty py/pyext 10 22 0 24 -260818 -1 0; *************** *** 6,10 **** #X symbolatom 21 139 10 0 0 0 - - -; #X symbolatom 25 298 10 0 0 0 - - -; ! #X obj 22 179 py .str @xlate 0; #X text 93 167 convert the symbol to a Python string; #X text 35 216 pass it as a true Python object; --- 6,10 ---- #X symbolatom 21 139 10 0 0 0 - - -; #X symbolatom 25 298 10 0 0 0 - - -; ! #X obj 22 179 py .str @py 1; #X text 93 167 convert the symbol to a Python string; #X text 35 216 pass it as a true Python object;
Index: methods-2.pd =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/pd/methods-2.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** methods-2.pd 9 Jul 2005 13:03:34 -0000 1.1 --- methods-2.pd 20 Jul 2005 08:11:17 -0000 1.2 *************** *** 1,3 **** ! #N canvas 540 469 734 339 12; #X obj 16 13 cnv 15 650 40 empty empty py/pyext 10 22 0 24 -260818 -1 0; --- 1,3 ---- ! #N canvas 540 469 738 343 12; #X obj 16 13 cnv 15 650 40 empty empty py/pyext 10 22 0 24 -260818 -1 0; *************** *** 9,18 **** ; #X obj 25 252 pym 2 *; ! #X obj 213 169 t b f; #X text 105 251 repeat text; #X text 215 117 multiply it!; #X symbolatom 25 283 80 0 0 0 - - -; #X obj 214 139 nbx 5 14 1 100 0 1 empty empty empty 0 -6 0 10 -262131 ! -1 -1 34 256; #N canvas 0 0 458 308 init 0; #X obj 61 116 s $0-t; --- 9,18 ---- ; #X obj 25 252 pym 2 *; ! #X obj 213 183 t b f; #X text 105 251 repeat text; #X text 215 117 multiply it!; #X symbolatom 25 283 80 0 0 0 - - -; #X obj 214 139 nbx 5 14 1 100 0 1 empty empty empty 0 -6 0 10 -262131 ! -1 -1 16 256; #N canvas 0 0 458 308 init 0; #X obj 61 116 s $0-t; *************** *** 22,28 **** #X connect 2 0 0 0; #X restore 606 127 pd init; #X connect 3 0 6 1; #X connect 6 0 10 0; #X connect 7 0 6 0; #X connect 7 1 6 2; ! #X connect 11 0 7 0; --- 22,30 ---- #X connect 2 0 0 0; #X restore 606 127 pd init; + #X obj 213 159 int; #X connect 3 0 6 1; #X connect 6 0 10 0; #X connect 7 0 6 0; #X connect 7 1 6 2; ! #X connect 11 0 13 0; ! #X connect 13 0 7 0;