aboutsummaryrefslogtreecommitdiff
path: root/examples/drip.pd
blob: 1aa7557853984ab905f051a6b6a37b4119b99008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#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 [<n> [flush]]";
#X text 457 397 <n> 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 <n> 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;