#N canvas 511 71 560 577 10;
#X obj 5 552 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X obj 5 319 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#X obj 5 428 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 82 437 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X text 134 437 signal;
#X obj 84 327 cnv 17 3 54 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 83 386 cnv 17 3 31 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X obj 8 461 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X text 133 327 signal;
#X text 122 469 1) float;
#X msg 37 210 mode \$1;
#X obj 37 191 nbx 2 12 0 3 0 0 safsdf sdfsdf empty 0 -8 0 10 -228856
-1 -1 0 256;
#X text 134 385 signal;
#X text 140 402 float;
#N canvas 734 127 488 574 integer_bitmask 0;
#X obj 262 315 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X msg 61 311 mode \$1;
#X obj 61 292 nbx 2 12 0 3 0 0 safsdf sdfsdf empty 0 -8 0 10 -228856
-1 -1 0 256;
#X obj 61 227 vradio 15 1 0 4 dfhdfgdj sggh empty 0 -8 0 10 -228856
-1 -1 0;
#X text 51 226 0;
#X text 51 240 1;
#X text 51 256 2;
#X text 51 271 3;
#X obj 127 193 cnv 15 240 85 empty empty empty 20 12 0 14 -253822 -66577
0;
#X text 136 197 Modes:;
#X text 140 214 0: left as float (don't convert);
#X text 140 227 1: convert left input to integer;
#X text 140 240 2: left as float (don't convert);
#X text 140 253 3: convert left input to integer;
#X text 41 38 When a first argument is given \, this value is converted
to an integer and the e '32 bit signed integer' representation of this
value is used as a bitmask for comparison.;
#X text 43 101 Since there is no audio input in the second inlet \,
the modes of conversion don't really make the same sense here. The
bitmask for comparison is always the same and only the left input is
converted to int or not. Thus \, here's how the modes will operate:
;
#X text 55 471 A float input into the second inlet is converted to
int and updates the argument. If a signal is connected to the second
inlet \, the float input will still update the argument \, but the
signal input has priority over the argument or the float input.;
#X text 278 371 <= integer bitmask;
#X text 286 386 (1st argument);
#X text 266 295 updates bitmask;
#X text 323 314 (converted to int);
#X obj 139 371 cyclone/bitor~ 10 1, f 21;
#X obj 139 423 cyclone/number~;
#A saved 0 0 100 -inf inf #2a3434 #ffffff #b6fefd;
#X obj 139 313 cyclone/number~ 1;
#A saved 1 0 100 -inf inf #2a3434 #ffffff #b6fefd;
#X connect 0 0 21 1;
#X connect 1 0 21 0;
#X connect 2 0 1 0;
#X connect 3 0 2 0;
#X connect 21 0 22 0;
#X connect 23 0 21 0;
#X restore 330 284 pd integer_bitmask;
#X text 103 346 bits <list>;
#X text 122 487 2) float;
#X text 111 155 Compare two signals:;
#N canvas 652 166 692 666 raw_bitmask 0;
#N canvas 303 196 881 396 x 0;
#X obj 201 101 cnv 15 458 44 empty empty empty 20 12 0 14 -249661 -66577
0;
#X obj 407 103 tgl 15 0 \$0-alkdjg \$0-sfdknj empty 17 7 0 10 -228856
-1 -1 0 1;
#X obj 640 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 625 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 611 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 597 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -228856
-1 -1 0 1;
#X obj 583 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 569 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 555 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 541 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -228856
-1 -1 0 1;
#X obj 527 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 512 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 498 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 484 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -228856
-1 -1 0 1;
#X obj 470 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 456 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 442 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 428 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -228856
-1 -1 0 1;
#X obj 414 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 400 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 386 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 372 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -228856
-1 -1 0 1;
#X obj 358 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 344 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 330 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 316 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -228856
-1 -1 0 1;
#X obj 302 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 288 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 274 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 260 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -228856
-1 -1 0 1;
#X obj 246 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 232 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 218 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 204 124 tgl 15 0 \$0-bitchange asjgsjags empty 17 7 0 10 -228856
-1 -1 0 1;
#X obj 71 306 outlet;
#X obj 407 50 loadbang;
#X obj 71 179 cyclone/pak bits i i i i i i i i i i i i i i i i i i
i i i i i i i i i i i i i i, f 126;
#X obj 71 251 t b a;
#X obj 71 220 cyclone/prepend set;
#X text 424 103 set all bits;
#X msg 407 74 0;
#X connect 1 0 33 0;
#X connect 1 0 32 0;
#X connect 1 0 31 0;
#X connect 1 0 30 0;
#X connect 1 0 29 0;
#X connect 1 0 28 0;
#X connect 1 0 27 0;
#X connect 1 0 26 0;
#X connect 1 0 25 0;
#X connect 1 0 24 0;
#X connect 1 0 23 0;
#X connect 1 0 22 0;
#X connect 1 0 21 0;
#X connect 1 0 20 0;
#X connect 1 0 19 0;
#X connect 1 0 18 0;
#X connect 1 0 17 0;
#X connect 1 0 16 0;
#X connect 1 0 15 0;
#X connect 1 0 14 0;
#X connect 1 0 13 0;
#X connect 1 0 12 0;
#X connect 1 0 11 0;
#X connect 1 0 10 0;
#X connect 1 0 9 0;
#X connect 1 0 8 0;
#X connect 1 0 7 0;
#X connect 1 0 6 0;
#X connect 1 0 5 0;
#X connect 1 0 4 0;
#X connect 1 0 3 0;
#X connect 1 0 2 0;
#X connect 2 0 36 32;
#X connect 3 0 36 31;
#X connect 4 0 36 30;
#X connect 5 0 36 29;
#X connect 6 0 36 28;
#X connect 7 0 36 27;
#X connect 8 0 36 26;
#X connect 9 0 36 25;
#X connect 10 0 36 24;
#X connect 11 0 36 23;
#X connect 12 0 36 22;
#X connect 13 0 36 21;
#X connect 14 0 36 20;
#X connect 15 0 36 19;
#X connect 16 0 36 18;
#X connect 17 0 36 17;
#X connect 18 0 36 16;
#X connect 19 0 36 15;
#X connect 20 0 36 14;
#X connect 21 0 36 13;
#X connect 22 0 36 12;
#X connect 23 0 36 11;
#X connect 24 0 36 10;
#X connect 25 0 36 9;
#X connect 26 0 36 8;
#X connect 27 0 36 7;
#X connect 28 0 36 6;
#X connect 29 0 36 5;
#X connect 30 0 36 4;
#X connect 31 0 36 3;
#X connect 32 0 36 2;
#X connect 33 0 36 1;
#X connect 35 0 40 0;
#X connect 36 0 38 0;
#X connect 37 0 34 0;
#X connect 37 1 34 0;
#X connect 38 0 37 0;
#X connect 40 0 1 0;
#X coords 0 -1 1 1 460 46 2 200 100;
#X restore 121 123 pd x;
#X obj 34 193 osc~ 220;
#X obj 121 513 cyclone/scope~ 226 115 5 3 128 -1 1 200 0 0 0 205 229
232 74 79 77 96 98 102 0 empty;
#X msg 148 264 mode \$1;
#X floatatom 148 241 4 0 3 0 - - -;
#X obj 148 218 hradio 15 1 0 4 \$0-dslsjdhfk \$0-dsdsdjfslkjhllsjdhfk
empty 0 -8 0 10 -228856 -1 -1 0;
#X obj 34 162 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X msg 121 184 bits 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0, f 68;
#X obj 308 314 cnv 15 240 85 empty empty empty 20 12 0 14 -253822 -66577
0;
#X text 317 318 Modes:;
#X text 321 335 0: left as float (don't convert);
#X text 321 348 1: convert left input to integer;
#X text 321 361 2: left as float (don't convert);
#X text 321 374 3: convert left input to integer;
#X text 173 23 Instead of an argument or float input \, you can also
specify a bitmask with the "bits" message.;
#X text 240 226 Again \, since there is no audio input in the second
inlet \, the modes of conversion don't really make the same sense.
The bitmask for comparison is always the same and only the left input
is converted to int or not. Thus \, here's how the modes will operate:
;
#X text 269 426 The given bitmask as the "bits" message overwrites
the given argument \, and a float input in the secondary inlet overwrites
the bitmask. If a signal is connected to the second inlet \, it has
priority over the given bitmask.;
#X obj 121 299 cyclone/bitor~;
#X text 173 56 The message "bits" followed by a list of 32 bit values
(0 or 1) sets a raw 32 bit data as a bitmask for comparison with the
signal input.;
#X obj 34 222 *~ 10000;
#X obj 121 379 /~ 10000;
#X obj 121 339 cyclone/bitsafe~;
#X obj 121 402 clip~ -1 1;
#X obj 139 444 ./out~;
#X connect 0 0 7 0;
#X connect 1 0 19 0;
#X connect 3 0 17 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X connect 6 0 1 0;
#X connect 7 0 17 0;
#X connect 17 0 21 0;
#X connect 19 0 17 0;
#X connect 20 0 22 0;
#X connect 21 0 20 0;
#X connect 22 0 2 0;
#X connect 22 0 23 0;
#X connect 22 0 23 1;
#X restore 459 284 pd raw_bitmask;
#X text 184 364 - <0-3>: modes of conversion to integers (details above)
;
#X text 184 469 - converted to integer and used as bitmask (default
0);
#X obj 304 159 cnv 15 240 110 empty empty empty 20 12 0 14 -253822
-66577 0;
#X text 313 163 Modes:;
#X text 317 180 0: (default) doesn't convert to int;
#X text 317 206 2: converts right signal to int;
#X text 317 219 3: converts left signal to int;
#N canvas 400 337 476 167 signal_conversion_to_int 0;
#X text 59 31 Signals are 32 bit floating point by default and their
32 bit representation is used for comparison. When converting a signal
to integer \, depending on the mode \, what happens is that the floating
point value is converted/truncated to an integer value (1.7 becomes
1 \, for instance) and the 32 bit signed integer representation of
this value is used for comparison.;
#X restore 363 243 pd signal_conversion_to_int;
#X text 97 363 mode <float>;
#X text 317 193 1: converts both signals to int;
#X text 183 345 - bits plus 32 bit (0/1) values sets a raw 32-bits
bitmask;
#X text 239 279 compare to a;
#X text 234 291 given bitmask:;
#X obj 37 126 vradio 15 1 0 4 dfhdfgdj sggh empty 0 -8 0 10 -228856
-1 -1 2;
#X text 27 125 0;
#X text 27 139 1;
#X text 27 155 2;
#X text 27 170 3;
#X text 184 403 - converted to integer and used as bitmask;
#X obj 8 511 cnv 3 550 3 empty empty more_info 8 12 0 13 -228856 -1
0;
#X text 184 487 - mode [0-3] (details above) - default 0;
#X obj 2 4 cnv 15 553 42 empty empty empty 20 12 0 14 -233017 -66577
0;
#N canvas 0 22 450 278 (subpatch) 0;
#X coords 0 1 100 -1 554 42 1 0 0;
#X restore 2 3 graph;
#X obj 305 4 cnv 15 250 40 empty empty empty 12 13 0 18 -128992 -233080
0;
#N canvas 382 141 749 319 (subpatch) 0;
#X coords 0 -1 1 1 252 42 2 100 100;
#X restore 304 3 pd;
#X text 88 91 [bitor~] compares the bits of two values with "Bitwise
OR" (bits are set to 1 if any of them is "1" \, 0 otherwise). It compares
two signals or a signal to a given bitmask. TIt has 4 modes of comparison
(see below).;
#X text 183 327 - signal to execute Bitwise-OR on;
#X text 184 385 - signal to execute Bitwise-OR on;
#X text 184 437 - signal as result of the "Bitwise-OR" operation;
#X obj 98 239 cyclone/bitor~;
#X text 122 519 [bitor~] can produce NaNs and +/-INFs - but denormals
are zeroed out.;
#X obj 21 61 cyclone/comment 0 14 DejaVu\ Sans\ Mono empty 0 0 0 0
0 255 255 255 0 0 Signal Bitwise-OR;
#X obj 16 4 cyclone/comment 0 33 DejaVu\ Sans\ Mono empty 0 0 0 0 0
255 255 255 0 0 bitor~;
#X obj 322 28 cyclone/comment 0 13 DejaVu\ Sans\ Mono empty 0 224 228
220 0 255 255 255 0 0 Objects cloned from Max/MSP;
#X obj 363 4 cyclone/comment 0 24 DejaVu\ Sans\ Mono empty 0 224 228
220 0 255 255 255 0 0 cyclone;
#X obj 179 207 cyclone/number~ 1;
#A saved 1 0 100 -inf inf #2a3434 #ffffff #b6fefd;
#X obj 98 272 cyclone/number~;
#A saved 0 0 100 -inf inf #2a3434 #ffffff #b6fefd;
#X obj 98 179 cyclone/number~ 1;
#A saved 1 0 100 -inf inf #2a3434 #ffffff #b6fefd;
#X obj 500 69 cyclone/setdsp~;
#X connect 10 0 48 0;
#X connect 11 0 10 0;
#X connect 32 0 11 0;
#X connect 48 0 55 0;
#X connect 54 0 48 1;
#X connect 56 0 48 0;
