blob: 81355099ccfbd1bc316c55af9229355676c5692e (
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
43
44
45
46
47
48
49
50
51
52
|
#N canvas 0 26 644 442 10;
#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 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 0 256;
#X obj 45 273 bitnot~;
#X obj 346 258 Snapshot~ 100;
#N canvas 309 151 494 395 META 0;
#X text 12 155 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan
Wilkes for Pd-extended 0.42 to conform to the PDDP template.;
#X text 12 125 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 12 5 KEYWORDS signal conversion max_compatible;
#X text 12 45 DESCRIPTION bitwise not signal operator;
#X text 12 65 INLET_0 signal;
#X text 12 85 OUTLET_0 signal;
#X text 12 25 LICENSE SIBSD;
#X text 12 105 AUTHOR Krzysztof Czaja;
#X restore 594 420 pd META;
#X connect 1 0 9 0;
#X connect 2 0 3 0;
#X connect 3 0 15 0;
#X connect 5 0 6 0;
#X connect 6 0 15 0;
#X connect 8 0 9 1;
#X connect 9 0 10 0;
#X connect 9 0 10 1;
#X connect 11 0 17 0;
#X connect 15 0 18 0;
#X connect 17 0 1 0;
#X connect 18 0 16 0;
|