From 2b60d55c919e7588f5aff15936e83c300b3660bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 22 Mar 2005 20:58:25 +0000 Subject: zexy-2.0: - use of abstractions for objects that allow it - some objects are build both as externals and abstractions (as slower fallbacks) - code-layout is now 1:1 c-file<->object (this should allow for building of zexy as a collection of externals instead as a big library) - matrix-objects have moved to iemmatrix !! svn path=/trunk/externals/zexy/; revision=2641 --- examples/drip.pd | 147 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 77 insertions(+), 70 deletions(-) (limited to 'examples/drip.pd') diff --git a/examples/drip.pd b/examples/drip.pd index 1aa7557..4bf4cfc 100644 --- a/examples/drip.pd +++ b/examples/drip.pd @@ -1,70 +1,77 @@ -#N canvas 378 65 854 849 10; -#X msg 30 108 come on \, my house; -#X obj 30 210 print UNFOLDED; -#X msg 48 135 1 two tre quatre 5 se; -#X text 72 10 drip; -#X obj 30 183 drip; -#X text 311 104 drip is like a medical drip - you can adjust the drop-speed; -#X obj 316 198 drip 1000; -#X obj 316 218 print DROP; -#X msg 316 152 this is that slow; -#X floatatom 365 179; -#X text 439 545 drip without arguments will do no scheduling (this is: output all the atoms at once); -#X text 424 182 drop-delay in [ms]; -#X obj 36 599 drip; -#X obj 95 601 drip 0; -#X msg 36 548 5 4 3 2 1 ready go; -#X obj 36 569 t l l; -#X obj 95 639 print SCHEDULED; -#X obj 36 661 print DESCHEDUL; -#X obj 248 592 drip -10; -#X obj 248 621 print DESCHED; -#X msg 248 556 bang; -#X obj 639 805 unfold; -#X text 423 790 for historical reasons (finding no proper object-name...) we still provide the obsolete alias; -#X text 44 27 unfolds a package to a sequence; -#X text 43 50 since you can switch to scheduled mode \, this might be used to reduce CPU-load; -#X text 55 817 see also :; -#X obj 127 819 repack; -#X obj 35 299 t l l b; -#X obj 151 350 t l l; -#X obj 35 375 unfold 200 flush; -#X obj 141 375 unfold 200; -#X obj 151 309 del 250; -#X msg 35 280 list some atoms could be saved while others; -#X msg 151 329 list might get lost; -#X obj 35 412 print TIGHT; -#X obj 141 413 print LOOSE; -#X obj 35 393 pipe s 1500; -#X text 411 309 creation:; -#X text 475 309 "drip [ [flush]]"; -#X text 457 397 is the initial drop-delay in [ms]; -#X text 452 333 "flush" indicates whether non-empty buffers should be flushed when a new package arrives or not.; -#X text 453 362 default is no_flush; -#X text 457 430 n==0 will DO scheduling (and is therefore somewhat "slower" than without arguments; -#X text 455 415 default is NO scheduling; -#X text 456 465 negative values for turn off scheduling; -#X connect 0 0 4 0; -#X connect 2 0 4 0; -#X connect 4 0 1 0; -#X connect 6 0 7 0; -#X connect 8 0 6 0; -#X connect 9 0 6 1; -#X connect 12 0 17 0; -#X connect 13 0 16 0; -#X connect 14 0 15 0; -#X connect 15 0 12 0; -#X connect 15 1 13 0; -#X connect 18 0 19 0; -#X connect 20 0 18 0; -#X connect 27 0 29 0; -#X connect 27 1 30 0; -#X connect 27 2 31 0; -#X connect 28 0 29 0; -#X connect 28 1 30 0; -#X connect 29 0 36 0; -#X connect 30 0 35 0; -#X connect 31 0 33 0; -#X connect 32 0 27 0; -#X connect 33 0 28 0; -#X connect 36 0 34 0; +#N canvas 340 54 854 849 10; +#X msg 30 108 come on \, my house; +#X obj 30 210 print UNFOLDED; +#X msg 48 135 1 two tre quatre 5 se; +#X text 72 10 drip; +#X obj 30 183 drip; +#X text 311 104 drip is like a medical drip - you can adjust the drop-speed +; +#X obj 316 198 drip 1000; +#X obj 316 218 print DROP; +#X msg 316 152 this is that slow; +#X floatatom 365 179 0 0 0 0 - - -; +#X text 439 545 drip without arguments will do no scheduling (this +is: output all the atoms at once); +#X text 424 182 drop-delay in [ms]; +#X obj 36 599 drip; +#X obj 95 601 drip 0; +#X msg 36 548 5 4 3 2 1 ready go; +#X obj 36 569 t l l; +#X obj 95 639 print SCHEDULED; +#X obj 36 661 print DESCHEDUL; +#X obj 248 592 drip -10; +#X obj 248 621 print DESCHED; +#X msg 248 556 bang; +#X obj 639 805 unfold; +#X text 423 770 for historical reasons (finding no proper object-name...) +we still provide the obsolete alias; +#X text 44 27 unfolds a package to a sequence; +#X text 43 50 since you can switch to scheduled mode \, this might +be used to reduce CPU-load; +#X text 55 817 see also :; +#X obj 127 819 repack; +#X obj 35 299 t l l b; +#X obj 151 350 t l l; +#X obj 35 375 unfold 200 flush; +#X obj 141 375 unfold 200; +#X obj 151 309 del 250; +#X msg 35 280 list some atoms could be saved while others; +#X msg 151 329 list might get lost; +#X obj 35 412 print TIGHT; +#X obj 141 413 print LOOSE; +#X obj 35 393 pipe s 1500; +#X text 411 309 creation:; +#X text 475 309 "drip [ [flush]]"; +#X text 457 397 is the initial drop-delay in [ms]; +#X text 452 333 "flush" indicates whether non-empty buffers should +be flushed when a new package arrives or not.; +#X text 453 362 default is no_flush; +#X text 457 430 n==0 will DO scheduling (and is therefore somewhat +"slower" than without arguments; +#X text 455 415 default is NO scheduling; +#X text 456 465 negative values for turn off scheduling; +#X text 717 13 part of zexy; +#X connect 0 0 4 0; +#X connect 2 0 4 0; +#X connect 4 0 1 0; +#X connect 6 0 7 0; +#X connect 8 0 6 0; +#X connect 9 0 6 1; +#X connect 12 0 17 0; +#X connect 13 0 16 0; +#X connect 14 0 15 0; +#X connect 15 0 12 0; +#X connect 15 1 13 0; +#X connect 18 0 19 0; +#X connect 20 0 18 0; +#X connect 27 0 29 0; +#X connect 27 1 30 0; +#X connect 27 2 31 0; +#X connect 28 0 29 0; +#X connect 28 1 30 0; +#X connect 29 0 36 0; +#X connect 30 0 35 0; +#X connect 31 0 33 0; +#X connect 32 0 27 0; +#X connect 33 0 28 0; +#X connect 36 0 34 0; -- cgit v1.2.1