[PD-cvs] externals/grill/py/pd sig-1.pd,NONE,1.1 sig-2.pd,NONE,1.1 script-1.pd,1.5,1.6

Thomas Grill xovo at users.sourceforge.net
Sun Mar 13 05:59:38 CET 2005


Update of /cvsroot/pure-data/externals/grill/py/pd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29887/pd

Modified Files:
	script-1.pd 
Added Files:
	sig-1.pd sig-2.pd 
Log Message:
pydsp: share dsp buffer objects at inplace operation
DSP support for py/pyext: new objects pyext~,pyx~,pyext.~,pyx.~
new base class for py and pyext classes
preset sys.argv for module loading
support for buffer objects (preliminary)
py: bang in left inlet now really triggers without arguments
fixes for detached operation and single-threaded version
little restructuring
adjust pd and py files for correct argument passing
more optimizations
update for new flext callback naming
use lock count instead of message queuing to avoid py->py messaging deadlock
pyext: fix for inlet count


Index: script-1.pd
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/py/pd/script-1.pd,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** script-1.pd	19 Jan 2005 04:58:35 -0000	1.5
--- script-1.pd	13 Mar 2005 04:59:35 -0000	1.6
***************
*** 1,3 ****
! #N canvas 297 17 688 530 12;
  #X obj 39 278 print;
  #X obj 345 251 print;
--- 1,3 ----
! #N canvas 297 17 692 534 12;
  #X obj 39 278 print;
  #X obj 345 251 print;
***************
*** 9,22 ****
  #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;
--- 9,22 ----
  #X msg 197 367 5 67 3;
  #X obj 350 456 print;
! #X obj 316 358 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
  -1;
  #X obj 515 455 print;
! #X obj 484 381 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 350 320 set ret1;
! #X msg 369 344 set ret2;
! #X text 424 319 functions can be set;
  #X msg 421 120 somewhere_past_mars;
  #X text 152 101 reload with new arguments;
***************
*** 38,41 ****
--- 38,42 ----
  #X msg 509 178 a b c;
  #X text 556 181 too many args;
+ #X text 505 372 just trigger without arguments;
  #X connect 2 0 25 1;
  #X connect 3 0 21 1;

--- NEW FILE: sig-1.pd ---
#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;

--- NEW FILE: sig-2.pd ---
#N canvas 56 67 659 311 12;
#X obj 121 246 dac~;
#X msg 523 211 \; pd dsp 1;
#X obj 524 184 loadbang;
#X obj 266 134 hsl 128 15 0 1 0 1 empty empty pan -2 -6 0 8 -225271
-1 -1 6500 1;
#X obj 92 126 noise~;
#X msg 31 127 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 92 179 pyext~ 1 0 1 2 sig pan;
#X text 185 202 message inlets \, outlets;
#X text 183 218 signal inlets \, outlets;
#X connect 2 0 1 0;
#X connect 3 0 10 1;
#X connect 4 0 10 0;
#X connect 5 0 10 0;
#X connect 10 0 0 0;
#X connect 10 1 0 1;





More information about the Pd-cvs mailing list