aboutsummaryrefslogtreecommitdiff
path: root/reference/sigzero~-help.pd
blob: cb7633b709f14ceb0b5c194f12fc78c0f0df969c (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#N canvas 4 50 548 454 10;
#X obj 75 195 sigzero~;
#X obj 75 147 sig~;
#X floatatom 75 89 0 0 0 0 - - -;
#X floatatom 75 222 0 0 0 0 - - -;
#X obj 113 273 print signal;
#X obj 113 224 select 0;
#X msg 113 249 off;
#X msg 172 248 on;
#X text 72 42 sigzero~ detects whether there is a signal or not (e.g.
zeroes throughout);
#X obj 74 25 sigzero~;
#X msg 132 121 bang;
#X msg 131 145 off;
#X floatatom 131 168 0 0 0 0 - - -;
#X text 212 123 turn the detector on;
#X text 212 148 turn it off;
#X text 213 170 turn it on/off;
#X text 110 88 try me;
#X obj 72 303 adc~ 1;
#X obj 131 330 sigzero~;
#X text 209 330 that's how i use it;
#X floatatom 98 408 0 0 0 0 - - -;
#N canvas 159 26 495 266 output 0;
#X obj 338 160 t b;
#X obj 338 110 f;
#X obj 338 60 inlet;
#X text 344 29 mute;
#X obj 338 185 f;
#X msg 425 178 0;
#X msg 338 85 bang;
#X obj 338 135 moses 1;
#X obj 425 153 t b f;
#X obj 397 117 moses 1;
#X obj 83 148 dbtorms;
#X obj 22 181 inlet~;
#X obj 199 41 inlet;
#X text 199 18 level;
#X msg 96 65 set \$1;
#X obj 96 89 outlet;
#X msg 214 64 \; pd dsp 1;
#X obj 83 194 line~;
#X obj 22 212 *~;
#X obj 22 241 dac~;
#X obj 83 171 pack 0 50;
#X text 20 158 audio;
#X text 93 110 show level;
#X obj 83 42 r \$0master-lvl;
#X obj 199 100 s \$0master-lvl;
#X obj 397 92 r \$0master-lvl;
#X obj 338 210 s \$0master-lvl;
#X connect 0 0 4 0;
#X connect 1 0 7 0;
#X connect 2 0 6 0;
#X connect 4 0 26 0;
#X connect 5 0 26 0;
#X connect 6 0 1 0;
#X connect 7 0 0 0;
#X connect 7 1 8 0;
#X connect 8 0 5 0;
#X connect 9 1 4 1;
#X connect 10 0 20 0;
#X connect 11 0 18 0;
#X connect 12 0 16 0;
#X connect 12 0 24 0;
#X connect 14 0 15 0;
#X connect 17 0 18 1;
#X connect 18 0 19 0;
#X connect 18 0 19 1;
#X connect 20 0 17 0;
#X connect 23 0 10 0;
#X connect 23 0 14 0;
#X connect 25 0 1 1;
#X connect 25 0 9 0;
#X restore 73 430 pd output;
#X msg 124 408 MUTE;
#X text 93 389 output amplitude;
#X text 445 12 part of zexy;
#N canvas 558 166 494 344 META 0;
#X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 45 DESCRIPTION detects whether there is a signal or not
(e.g. zeroes throughout);
#X text 12 5 KEYWORDS signal analysis;
#X text 12 75 INLET_0 signal bang off float;
#X text 12 95 OUTLET_0 float;
#X text 12 115 AUTHOR IOhannes m zmoelnig;
#X restore 491 425 pd META;
#N canvas 4 50 551 343 sub 0;
#X obj 152 104 inlet~;
#X obj 152 155 nop~;
#X obj 152 210 outlet~;
#X text 190 157 imagine we were doing some VERY heavy calcs here;
#X obj 427 48 inlet;
#X obj 427 75 switch~;
#X text 35 272 if the heavy calculations done here are done in vain
because there is no incoming signal \, it would be better to turn the
whole sub-patch off...;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 4 0 5 0;
#X restore 73 364 pd sub;
#X connect 0 0 3 0;
#X connect 0 0 5 0;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 5 0 6 0;
#X connect 5 1 7 0;
#X connect 6 0 4 0;
#X connect 7 0 4 0;
#X connect 10 0 0 0;
#X connect 11 0 0 0;
#X connect 12 0 0 0;
#X connect 17 0 18 0;
#X connect 17 0 26 0;
#X connect 18 0 26 1;
#X connect 20 0 21 1;
#X connect 21 0 20 0;
#X connect 22 0 21 2;
#X connect 26 0 21 0;