1
#N canvas 325 377 594 494 10;
2
#X obj 79 235 sigzero~;
4
#X floatatom 79 129 0 0 0 0 - - -;
5
#X floatatom 79 262 0 0 0 0 - - -;
6
#X obj 117 313 print signal;
7
#X obj 117 264 select 0;
10
#X text 72 42 sigzero~ detects whether there is a signal or not (e.g.
12
#X obj 74 25 sigzero~;
15
#X floatatom 135 208 0 0 0 0 - - -;
16
#X text 216 163 turn the detector on;
17
#X text 216 188 turn it off;
18
#X text 217 210 turn it on/off;
19
#X text 114 128 try me;
20
#N canvas 0 0 594 394 sub 0;
21
#X obj 152 104 inlet~;
23
#X obj 152 210 outlet~;
24
#X text 190 157 imagine we were doing some VERY heavy calcs here;
26
#X obj 427 75 switch~;
27
#X text 35 272 if the heavy calculations done here are done in vain
28
because there is no incoming signal \, it would be better to turn the
29
whole sub-patch off...;
33
#X restore 76 393 page sub;
35
#X obj 135 370 sigzero~;
36
#X text 213 370 that's how i use it;
37
#X floatatom 106 442 0 0 0 0 - - -;
38
#N canvas 159 26 495 266 output 0;
46
#X obj 338 135 moses 1;
48
#X obj 397 117 moses 1;
49
#X obj 83 148 dbtorms;
55
#X msg 214 64 \; pd dsp 1;
59
#X obj 83 171 pack 0 50;
61
#X text 93 110 show level;
62
#X obj 83 42 r \$0master-lvl;
63
#X obj 199 100 s \$0master-lvl;
64
#X obj 397 92 r \$0master-lvl;
65
#X obj 338 210 s \$0master-lvl;
89
#X restore 77 470 pd output;
91
#X text 101 423 output amplitude;
92
#X text 445 12 part of zexy;
104
#X connect 17 0 22 0;
105
#X connect 18 0 17 0;
106
#X connect 18 0 19 0;
107
#X connect 19 0 17 1;
108
#X connect 21 0 22 1;
109
#X connect 22 0 21 0;
110
#X connect 23 0 22 2;