#N canvas 287 24 554 677 10;
#X obj -1 781 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0
14 -233017 -33289 0;
#X obj -1 522 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13
-228856 -1 0;
#N canvas 492 428 340 251 META 0;
#X text 88 164 WEBSITE http://crca.ucsd.edu/~msp/;
#X text 88 31 LICENSE SIBSD;
#X text 88 144 AUTHOR Miller Puckette;
#X text 88 184 RELEASE_DATE 1997;
#X text 88 124 LIBRARY cyclone;
#X text 88 11 KEYWORDS bitwise bit boolean signal;
#X text 88 51 DESCRIPTION performs bitwise boolean operations on a
floating point signal as bits or as a float;
#X text 88 84 INLET_0 signal;
#X text 88 104 OUTLET_0 signal;
#X text 88 204 HELP_PATCH_AUTHORS Alex Cleveland updated this patch
for Pd-l2ork version 2013.05.28;
#X restore 500 783 pd META;
#X obj -1 586 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0
13 -228856 -1 0;
#X obj -1 623 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12
0 13 -228856 -1 0;
#N canvas 175 570 428 109 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -204280 -1 0;
#X text 6 1 Related Objects;
#X obj 38 38 bitnot~;
#X obj 38 68 bitor~;
#X restore 202 783 pd Related_objects;
#X obj 79 595 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X obj -1 0 cnv 15 552 40 empty \$0-pddp.cnv.header bitand~ 3 12 0
18 -204280 -1 0;
#X obj 14 402 clip~ -1 1;
#X floatatom 376 256 0 0 0 0 - - -;
#X msg 376 276 mode \$1;
#X floatatom 500 256 0 0 0 0 - - -;
#X floatatom 437 256 0 0 0 0 - - -;
#X obj 500 276 sig~ 1;
#X obj 437 276 sig~ 1;
#X text 123 392 modes \; mode 0: treat both floating point signal inputs
as raw 32 bit values \; mode 1: convert both floating point signal
inputs to integers \; mode 2: treat left input as raw 32 bit value
\, convert right input to integer \; mode 3: convert left input to
integer \, treat right input as raw 32 bit value \;;
#X text 46 93 send bitmask;
#X floatatom 47 424 0 0 0 0 - - -;
#X obj 14 447 *~ 0.2;
#X obj 245 94 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 463 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 449 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 435 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 421 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 407 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 393 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 379 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 365 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 351 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 337 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 323 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 309 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 295 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 281 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 267 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 253 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 239 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 225 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 211 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 197 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 183 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 169 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 155 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 141 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 127 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 113 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 99 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 85 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 71 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 57 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 43 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 29 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X floatatom 54 328 0 0 0 0 - - -;
#X obj 14 482 dac~;
#X obj 35 290 cycle~ 440;
#X text 123 366 args: <mask> <mode>. both default to 0;
#X text 78 329 use an integer as a bitmask;
#X obj 437 300 bitand~ 0 1;
#X obj 437 360 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-262144 -1 -1 0 256 0;
#X obj 437 333 unsig~;
#X obj 15 360 bitand~;
#X obj 15 161 pack s 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;
#X msg 15 96 bits;
#X obj 15 229 list trim;
#X text 117 595 signal;
#X text 115 534 signal;
#X text 170 595 - output signal of bitwise and for mask and mode;
#X text 99 637 1) float;
#X text 99 655 2) float;
#X text 170 655 -;
#X text 170 655 modes \; mode 0: treat both floating point signal inputs
as raw 32 bit values \; mode 1: convert both floating point signal
inputs to integers \; mode 2: treat left input as raw 32 bit value
\, convert right input to integer \; mode 3: convert left input to
integer \, treat right input as raw 32 bit value \;;
#X text 170 639 - mask: 1 or 0 \, bit to mask (and) with;
#X text 170 534 - signal to do bitwise and with \, can have operation
be treated as signal of bit or signal as int/float;
#X obj 498 4 bitand~;
#X floatatom 35 265 5 0 0 0 - - -;
#X text 377 222 bitwise boolean operationon signals as integers;
#X text 32 190 bitwise boolean operation on signal and some bitmask
as bits;
#X obj 484 50 pddp/dsp;
#X obj 80 536 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X text 17 22 Performs bitwise boolean operations on a float signal.
;
#X text 18 48 Works on floating point signal as bits or as an integer:
;
#X text 13 75 bitwise operation on a signal as bits;
#X text 481 133 set bitmask;
#X obj 5 781 pddp/pddplink @pd_help/all_about_help_patches.pd -text Usage Guide
;
#X connect 8 0 18 0;
#X connect 9 0 10 0;
#X connect 10 0 57 0;
#X connect 11 0 13 0;
#X connect 12 0 14 0;
#X connect 13 0 57 1;
#X connect 14 0 57 0;
#X connect 17 0 18 1;
#X connect 18 0 53 0;
#X connect 18 0 53 1;
#X connect 19 0 51 0;
#X connect 19 0 50 0;
#X connect 19 0 49 0;
#X connect 19 0 48 0;
#X connect 19 0 47 0;
#X connect 19 0 46 0;
#X connect 19 0 45 0;
#X connect 19 0 44 0;
#X connect 19 0 43 0;
#X connect 19 0 42 0;
#X connect 19 0 41 0;
#X connect 19 0 40 0;
#X connect 19 0 39 0;
#X connect 19 0 38 0;
#X connect 19 0 37 0;
#X connect 19 0 36 0;
#X connect 19 0 35 0;
#X connect 19 0 34 0;
#X connect 19 0 33 0;
#X connect 19 0 32 0;
#X connect 19 0 31 0;
#X connect 19 0 30 0;
#X connect 19 0 29 0;
#X connect 19 0 28 0;
#X connect 19 0 27 0;
#X connect 19 0 26 0;
#X connect 19 0 25 0;
#X connect 19 0 24 0;
#X connect 19 0 23 0;
#X connect 19 0 22 0;
#X connect 19 0 21 0;
#X connect 19 0 20 0;
#X connect 20 0 61 32;
#X connect 21 0 61 31;
#X connect 22 0 61 30;
#X connect 23 0 61 29;
#X connect 24 0 61 28;
#X connect 25 0 61 27;
#X connect 26 0 61 26;
#X connect 27 0 61 25;
#X connect 28 0 61 24;
#X connect 29 0 61 23;
#X connect 30 0 61 22;
#X connect 31 0 61 21;
#X connect 32 0 61 20;
#X connect 33 0 61 19;
#X connect 34 0 61 18;
#X connect 35 0 61 17;
#X connect 36 0 61 16;
#X connect 37 0 61 15;
#X connect 38 0 61 14;
#X connect 39 0 61 13;
#X connect 40 0 61 12;
#X connect 41 0 61 11;
#X connect 42 0 61 10;
#X connect 43 0 61 9;
#X connect 44 0 61 8;
#X connect 45 0 61 7;
#X connect 46 0 61 6;
#X connect 47 0 61 5;
#X connect 48 0 61 4;
#X connect 49 0 61 3;
#X connect 50 0 61 2;
#X connect 51 0 61 1;
#X connect 52 0 60 1;
#X connect 54 0 60 0;
#X connect 57 0 59 0;
#X connect 59 0 58 0;
#X connect 60 0 8 0;
#X connect 61 0 63 0;
#X connect 62 0 61 0;
#X connect 63 0 60 0;
#X connect 74 0 54 0;
