#N canvas 396 41 564 613 10;
#X obj 8 584 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 7 351 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 7 465 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 7 497 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 82 474 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 133 474 signal;
#X text 133 359 signal;
#X text 121 521 2) float;
#X obj 82 360 cnv 17 3 97 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 139 397 float;
#X msg 44 227 mode \$1;
#X obj 44 200 tgl 20 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000 0 1;
#X text 121 503 1) float;
#X text 189 474 - output of bit shifted signal;
#X text 189 504 - number of bits to shift (default 0);
#X msg 137 233 shift \$1;
#X text 66 90 [bitshift~] takes a signal and performs Bitwise Shifting (shift bit values to the left or right) depending on a shift value (positive values shift that number of bits to the left \, while negative values shift to the right). The operation is done in two modes (see below).;
#X text 109 377 mode <0/1>;
#X text 189 376 - sets mode (details above);
#X obj 279 230 cnv 15 265 80 empty empty empty 20 12 0 14 #f4f4f4 #404040 0;
#X text 286 233 Modes:;
#X text 292 250 0: (default) doesn't convert to int;
#N canvas 617 310 476 167 signal_conversion_to_int 0;
#X text 62 35 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 \, and the 32 bit signed integer representation of this value is used for the operation.;
#X restore 369 286 pd signal_conversion_to_int;
#X text 292 263 1: converts input signal to int;
#X text 91 416 shift <float>;
#X obj 117 261 cyclone/bitshift~ -2;
#X text 189 416 - specifies the number and direction of the shift - positive values shift that number of bits to the left while negative shift to the right;
#X text 189 397 - sets conversion mode [0 or 1];
#X text 191 522 - sets conversion mode: 0 (default) or 1;
#X text 189 360 - signal to Bit-Shift;
#X obj 137 209 nbx 5 16 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 12 #dcdcdc #000000 #000000 0 256;
#X obj 8 541 cnv 3 550 3 empty empty more_info 8 12 0 13 #dcdcdc #000000 0;
#X text 122 549 [bitshift~] can produce NaNs and +/-INFs - but denormals are zeroed out.;
#X obj 500 69 cyclone/dsponoff~;
#X obj 2 2 header bitshift~;
#X text 23 60 Signal Bit-Shifting;
#X floatatom 117 161 11 0 0 0 - - - 0;
#X obj 117 184 sig~;
#X obj 117 292 cyclone/snapshot~ 1;
#X floatatom 117 319 11 0 0 0 - - - 0;
#X connect 10 0 25 0;
#X connect 11 0 10 0;
#X connect 15 0 25 0;
#X connect 25 0 38 0;
#X connect 30 0 15 0;
#X connect 36 0 37 0;
#X connect 37 0 25 0;
#X connect 38 0 39 0;
