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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
|
#N canvas 584 81 570 594 10;
#X obj 414 44 import cyclone/nettles;
#X obj 23 165 ==~;
#X obj 23 240 !=~;
#X obj 23 265 <~;
#X obj 23 290 >~;
#X obj 23 321 <=~;
#X obj 23 350 >=~;
#X obj 23 409 !/~;
#X obj 23 443 %~;
#X obj 22 523 +=~;
#X obj 23 190 _==1~;
#X obj 23 215 _==2~;
#X obj 23 91 !-;
#X obj 23 115 !/;
#X obj 23 380 !-~;
#X text 71 190 sigeq - outlet is 1 when inlets are equal as floats
;
#X text 72 214 sigeq - compare more (8?) samples in block;
#X text 72 164 sigeq - outlet is 1 when inlets are equal as ints?;
#X msg 23 140 _algo n;
#X text 85 141 switch mode: 0 \, 1 \, 2;
#X text 71 114 rdiv : output = right inlet / left inlet;
#X text 70 91 rminus : output = right inlet - left inlet;
#X text 72 241 signeq : output = 1 when inlets are unequal;
#X text 72 266 siglt : output = 1 when left inlet is larger than right
;
#X text 68 521 sigaccum : is the accumulation of all previous samples
;
#X text 74 409 sigrover : outlet is the remainder of the left inlet
divided by the right inlet;
#X text 74 442 sigmod : outlet is the right inlet divided through the
left inlet;
#X text 73 379 sigrminus : outlet = 1 when inlets are unequal;
#X text 73 350 siggeq : outlet = 1 when left inlet is greater or equal
than right;
#X text 73 321 sigleq : outlet = 1 when left inlet is less or equal
than right;
#X text 72 289 siggt : outlet = 1 when left inlet is greater than right
;
#X obj 22 503 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X msg 21 482 set 0;
#X text 67 481 set sum to a value;
#X text 69 502 set sum to 0;
#X obj 0 557 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#N canvas 616 258 377 299 META 0;
#X text 0 20 LICENSE SIBSD;
#X text 0 100 LIBRARY cyclone;
#X text 0 80 OUTLET_0 signal;
#X text 1 121 VERSION 0.1-alpha57;
#X text 1 139 AUTHOR Krzysztof Czaja;
#X text 2 157 RELEASE_DATE 2002;
#X text 3 176 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 3 208 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan
Wilkes for Pd-extended 0.42 to conform to the PDDP template. Alex Cleveland
updated this patch for Pd-l2ork version 2013.05.28. Fred Jan Kraan
adapted the patch to pd-extended 2015-02-02;
#X text 0 40 DESCRIPTION apply binary operations;
#X text 0 60 INLET_0 float signal message;
#X text 0 0 KEYWORDS bin ops for control messages and signals;
#X restore 503 559 pd META;
#N canvas 319 385 428 109 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 6 1 Related Objects;
#X restore 205 559 pd Related_objects;
#N canvas 1 81 1114 741 signal 0;
#X obj 391 134 !=~;
#X obj 390 103 sig~;
#X obj 438 103 sig~;
#X obj 392 159 Snapshot~ 100;
#X obj 392 183 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 390 75 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1
-1 2;
#X obj 438 75 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1
-1 2;
#X obj 22 273 sig~;
#X obj 70 273 sig~;
#X obj 24 329 Snapshot~ 100;
#X obj 24 353 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 22 245 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1
-1 0;
#X obj 70 245 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1
-1 1;
#X obj 23 304 <~;
#X obj 394 273 sig~;
#X obj 442 273 sig~;
#X obj 396 329 Snapshot~ 100;
#X obj 396 353 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 394 245 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144
-1 -1 1;
#X obj 442 245 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
#X obj 395 304 >~;
#X obj 14 436 sig~;
#X obj 62 436 sig~;
#X obj 16 492 Snapshot~ 100;
#X obj 16 517 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 14 408 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1
-1 2;
#X obj 62 408 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1
-1 0;
#X obj 15 467 <=~;
#X obj 394 434 sig~;
#X obj 442 434 sig~;
#X obj 396 490 Snapshot~ 100;
#X obj 396 515 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 394 406 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144
-1 -1 1;
#X obj 442 406 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144
-1 -1 2;
#X obj 395 465 >=~;
#X obj 763 103 sig~;
#X obj 811 103 sig~;
#X obj 765 159 Snapshot~ 100;
#X obj 763 75 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1
-1 2;
#X obj 811 75 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1
-1 0;
#X obj 764 134 !-~;
#X text 389 53 signeq : outlet = 1 when inlets are unequal;
#X text 20 219 siglt : outlet = 1 when left inlet is less than right
;
#X text 391 214 siggt : outlet = 1 when left inlet is greater than
right;
#X text 9 377 sigleq : outlet = 1 when left inlet is less or equal
than right;
#X text 389 376 siggeq : outlet = 1 when left inlet is greater or equal
than right;
#X obj 394 603 sig~;
#X obj 442 603 sig~;
#X obj 396 659 Snapshot~ 100;
#X obj 395 634 %~;
#X floatatom 442 582 5 0 0 0 - - -, f 5;
#X floatatom 394 582 5 0 0 0 - - -, f 5;
#X text 390 543 sigrover : outlet is the remainder of the left inlet
divided by the right inlet;
#X floatatom 396 686 5 0 0 0 - - -, f 5;
#X obj 10 603 sig~;
#X obj 58 603 sig~;
#X obj 12 659 Snapshot~ 100;
#X floatatom 58 582 5 0 0 0 - - -, f 5;
#X floatatom 10 582 5 0 0 0 - - -, f 5;
#X floatatom 12 686 5 0 0 0 - - -, f 5;
#X obj 11 634 !/~;
#X text 4 542 sigmod : outlet is the right inlet divided through the
left inlet;
#X obj 777 621 sig~;
#X obj 779 677 Snapshot~ 100;
#X floatatom 779 704 8 0 0 0 - - -, f 8;
#X obj 778 652 +=~;
#X obj 777 571 hradio 15 1 1 5 empty empty empty 0 -8 0 10 -262144
-1 -1 2;
#X obj 777 591 - 2;
#X text 856 570 2;
#X text 760 570 -2;
#X text 772 545 sigaccum : is the accumulation of all previous samples
;
#X obj 819 625 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X msg 842 625 set 42;
#X obj 0 0 cnv 15 552 40 empty empty signal_operations 3 12 0 18 -204280
-1 0;
#X floatatom 765 183 5 0 0 0 - - -, f 5;
#X text 759 52 sigrminus : outlet = left inlet minus right inlet;
#X obj 777 467 dspSwitch~;
#X obj 86 115 sig~;
#X obj 134 115 sig~;
#X obj 88 171 Snapshot~ 100;
#X floatatom 134 94 5 0 0 0 - - -, f 5;
#X floatatom 86 94 5 0 0 0 - - -, f 5;
#X obj 87 146 ==~;
#X msg 17 74 _algo 0;
#X msg 18 94 _algo 1;
#X msg 18 117 _algo 2;
#X obj 88 195 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 13 52 sigeq : outlet = 1 when inlets are equal;
#X obj 223 117 _==1~;
#X obj 223 139 _==2~;
#X text 200 98 alternate objects:;
#X connect 0 0 3 0;
#X connect 1 0 0 0;
#X connect 2 0 0 1;
#X connect 3 0 4 0;
#X connect 5 0 1 0;
#X connect 6 0 2 0;
#X connect 7 0 13 0;
#X connect 8 0 13 1;
#X connect 9 0 10 0;
#X connect 11 0 7 0;
#X connect 12 0 8 0;
#X connect 13 0 9 0;
#X connect 14 0 20 0;
#X connect 15 0 20 1;
#X connect 16 0 17 0;
#X connect 18 0 14 0;
#X connect 19 0 15 0;
#X connect 20 0 16 0;
#X connect 21 0 27 0;
#X connect 22 0 27 1;
#X connect 23 0 24 0;
#X connect 25 0 21 0;
#X connect 26 0 22 0;
#X connect 27 0 23 0;
#X connect 28 0 34 0;
#X connect 29 0 34 1;
#X connect 30 0 31 0;
#X connect 32 0 28 0;
#X connect 33 0 29 0;
#X connect 34 0 30 0;
#X connect 35 0 40 0;
#X connect 36 0 40 1;
#X connect 37 0 74 0;
#X connect 38 0 35 0;
#X connect 39 0 36 0;
#X connect 40 0 37 0;
#X connect 46 0 49 0;
#X connect 47 0 49 1;
#X connect 48 0 53 0;
#X connect 49 0 48 0;
#X connect 50 0 47 0;
#X connect 51 0 46 0;
#X connect 54 0 60 0;
#X connect 55 0 60 1;
#X connect 56 0 59 0;
#X connect 57 0 55 0;
#X connect 58 0 54 0;
#X connect 60 0 56 0;
#X connect 62 0 65 0;
#X connect 63 0 64 0;
#X connect 65 0 63 0;
#X connect 66 0 67 0;
#X connect 67 0 62 0;
#X connect 71 0 65 0;
#X connect 72 0 65 0;
#X connect 77 0 82 0;
#X connect 78 0 82 1;
#X connect 79 0 86 0;
#X connect 80 0 78 0;
#X connect 81 0 77 0;
#X connect 82 0 79 0;
#X connect 83 0 82 0;
#X connect 84 0 82 0;
#X connect 85 0 82 0;
#X restore 425 177 pd signal ops;
#N canvas 1 80 450 414 control 0;
#X obj 0 0 cnv 15 552 40 empty empty empty 3 12 0 18 -204280 -1 0;
#X text 8 19 control message operators;
#X obj 59 149 !-;
#X msg 35 106 1;
#X msg 84 105 1;
#X msg 94 126 2;
#X msg 74 84 0;
#X msg 51 277 1;
#X msg 100 276 1;
#X msg 110 297 2;
#X obj 75 320 !/;
#X msg 90 255 -1;
#X msg 51 253 2;
#X msg 33 80 -1;
#X text 28 55 rminus : output = right inlet - left inlet;
#X text 25 219 rdiv : output = right inlet / left inlet;
#X floatatom 59 176 5 0 0 0 - - -, f 5;
#X floatatom 75 347 5 0 0 0 - - -, f 5;
#X connect 2 0 16 0;
#X connect 3 0 2 0;
#X connect 4 0 2 1;
#X connect 5 0 2 1;
#X connect 6 0 2 1;
#X connect 7 0 10 0;
#X connect 8 0 10 1;
#X connect 9 0 10 1;
#X connect 10 0 17 0;
#X connect 11 0 10 1;
#X connect 12 0 10 0;
#X connect 13 0 2 0;
#X restore 424 103 pd control ops;
#X text 12 23 Nettles: bin-ops;
#X obj 0 0 cnv 15 552 40 empty empty nettles 3 12 0 18 -204280 -1 0
;
#X connect 18 0 1 0;
#X connect 31 0 9 0;
#X connect 32 0 9 0;
|