aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/bitnot~-help.pd
blob: 20fd57e1249343809f7f7918e2b20a07d23f8816 (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
#N canvas 1387 184 781 540 10;
#X declare -lib cyclone;
#X text 15 5 Bitwise not signal operator.;
#X obj 41 316 clip~ -1 1;
#X floatatom 397 182 0 0 0 0 - - -;
#X msg 397 200 mode \$1;
#X text 22 180 bitwise boolean operation on a signal as bits;
#X floatatom 346 180 0 0 0 0 - - -;
#X obj 346 200 sig~ 0;
#X text 300 356 modes \; mode 0: treat floating point signal input
as raw 32 bit value \; mode 1: convert floating point signal input
to integer \;;
#X floatatom 70 341 0 0 0 0 - - -;
#X obj 41 360 *~ 0.2;
#X obj 41 402 dac~;
#X obj 45 237 cycle~ 440;
#X text 300 330 args: <mode>. defaults to 0;
#X text 335 152 bitwise boolean operation on signals as integers;
#X text 15 35 Performs bitwise boolean operations on a floating point
signal as bits or as an integer. Note that if you are converting the
floats to ints and back that single precision floating point values
only retain 24 bits of integer resolution. The floating point bits
from left to right are <1 sign bit> <8 exponent bits> <23 mantissa
bits>.;
#X obj 487 40 import cyclone;
#X obj 346 231 bitnot~ 1;
#X obj 347 283 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-262144 -1 -1 -1 256;
#X obj 45 273 bitnot~;
#X obj 346 258 Snapshot~ 100;
#X connect 1 0 9 0;
#X connect 2 0 3 0;
#X connect 3 0 16 0;
#X connect 5 0 6 0;
#X connect 6 0 16 0;
#X connect 8 0 9 1;
#X connect 9 0 10 0;
#X connect 9 0 10 1;
#X connect 11 0 18 0;
#X connect 16 0 19 0;
#X connect 18 0 1 0;
#X connect 19 0 17 0;