diff options
Diffstat (limited to 'doc/help/cyclone/bitxor~-help.pd')
-rw-r--r-- | doc/help/cyclone/bitxor~-help.pd | 160 |
1 files changed, 86 insertions, 74 deletions
diff --git a/doc/help/cyclone/bitxor~-help.pd b/doc/help/cyclone/bitxor~-help.pd index dbfa3b2..9823dd8 100644 --- a/doc/help/cyclone/bitxor~-help.pd +++ b/doc/help/cyclone/bitxor~-help.pd @@ -1,6 +1,5 @@ -#N canvas 1271 125 846 618 10; -#X declare -lib cyclone; -#X text 355 479 see also:; +#N canvas 0 26 662 547 10; +#X text 252 509 see also:; #X text 28 9 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 @@ -8,18 +7,18 @@ 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 text 28 -18 Bitwise xor signal operator.; -#X obj 72 378 clip~ -1 1; -#X floatatom 532 268 0 0 0 0 - - -; -#X msg 532 286 mode \$1; -#X text 47 231 bitwise boolean operation on a signal and some bitmask +#X obj 69 388 clip~ -1 1; +#X floatatom 382 288 0 0 0 0 - - -; +#X msg 382 306 mode \$1; +#X text 47 241 bitwise boolean operation on a signal and some bitmask as bits; -#X floatatom 480 266 0 0 0 0 - - -; -#X floatatom 431 266 0 0 0 0 - - -; -#X obj 480 286 sig~ 1; -#X obj 431 286 sig~ 1; -#X text 28 105 send bitmask; -#X floatatom 101 401 0 0 0 0 - - -; -#X obj 72 420 *~ 0.2; +#X floatatom 503 286 0 0 0 0 - - -; +#X floatatom 441 286 0 0 0 0 - - -; +#X obj 503 306 sig~ 1; +#X obj 441 306 sig~ 1; +#X text 28 85 send bitmask; +#X floatatom 102 411 0 0 0 0 - - -; +#X obj 69 436 *~ 0.2; #X obj 231 116 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 446 157 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 @@ -70,8 +69,6 @@ as bits; 1; #X obj 147 157 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; -#X obj 30 119 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 --1; #X obj 134 157 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 121 157 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 @@ -90,35 +87,48 @@ as bits; 1; #X obj 30 182 pack 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; -#X floatatom 99 299 0 0 0 0 - - -; -#X obj 72 454 dac~; -#X obj 68 260 cycle~ 440; -#X text 255 373 args: <mask> <mode>. both default to 0; +#X floatatom 99 309 0 0 0 0 - - -; +#X obj 69 470 dac~; +#X obj 68 270 cycle~ 440; +#X text 152 373 args: <mask> <mode>. both default to 0; #X text 463 158 <= set bitmask; -#X text 432 231 bitwise boolean operation on signals as integers; -#X text 92 283 use an integer as a bitmask; -#X obj 443 31 import cyclone; -#X obj 431 310 bitxor~ 0 1; -#X text 255 399 modes \; mode 0: treat both floating point signal inputs +#X text 361 264 bitwise boolean operation on signals as integers; +#X text 92 293 use an integer as a bitmask; +#X obj 441 330 bitxor~ 0 1; +#X text 152 399 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 obj 431 338 Snapshot~ 100; -#X obj 433 361 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 --262144 -1 -1 6 256; -#X obj 68 319 bitxor~; +#X obj 441 358 Snapshot~ 100; +#X obj 443 381 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 +-262144 -1 -1 0 256; +#X obj 68 329 bitxor~; +#N canvas 309 151 494 371 META 0; +#X text 12 175 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan +Wilkes for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 145 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html +; +#X text 12 5 KEYWORDS signal conversion max_compatible needs_work; +#X text 12 45 DESCRIPTION bitwise xor signal operator; +#X text 12 85 INLET_1 signal; +#X text 12 65 INLET_0 signal bits; +#X text 12 105 OUTLET_0 signal; +#X text 12 25 LICENSE SIBSD; +#X text 12 125 AUTHOR Krzysztof Czaja; +#X restore 612 511 pd META; +#X msg 30 108 bits; +#X obj 30 220 list trim; #X connect 3 0 13 0; #X connect 4 0 5 0; -#X connect 5 0 57 0; +#X connect 5 0 55 0; #X connect 7 0 9 0; #X connect 8 0 10 0; -#X connect 9 0 57 1; -#X connect 10 0 57 0; +#X connect 9 0 55 1; +#X connect 10 0 55 0; #X connect 12 0 13 1; -#X connect 13 0 50 0; -#X connect 13 0 50 1; -#X connect 14 0 47 0; +#X connect 13 0 49 0; +#X connect 13 0 49 1; #X connect 14 0 46 0; #X connect 14 0 45 0; #X connect 14 0 44 0; @@ -126,6 +136,7 @@ integer \, treat right input as raw 32 bit value \;; #X connect 14 0 42 0; #X connect 14 0 41 0; #X connect 14 0 40 0; +#X connect 14 0 39 0; #X connect 14 0 38 0; #X connect 14 0 37 0; #X connect 14 0 36 0; @@ -150,42 +161,43 @@ integer \, treat right input as raw 32 bit value \;; #X connect 14 0 17 0; #X connect 14 0 16 0; #X connect 14 0 15 0; -#X connect 15 0 48 32; -#X connect 16 0 48 31; -#X connect 17 0 48 30; -#X connect 18 0 48 29; -#X connect 19 0 48 28; -#X connect 20 0 48 27; -#X connect 21 0 48 26; -#X connect 22 0 48 25; -#X connect 23 0 48 24; -#X connect 24 0 48 23; -#X connect 25 0 48 22; -#X connect 26 0 48 21; -#X connect 27 0 48 20; -#X connect 28 0 48 19; -#X connect 29 0 48 18; -#X connect 30 0 48 17; -#X connect 31 0 48 16; -#X connect 32 0 48 15; -#X connect 33 0 48 14; -#X connect 34 0 48 13; -#X connect 35 0 48 12; -#X connect 36 0 48 11; -#X connect 37 0 48 10; -#X connect 38 0 48 9; -#X connect 39 0 48 0; -#X connect 40 0 48 8; -#X connect 41 0 48 7; -#X connect 42 0 48 6; -#X connect 43 0 48 5; -#X connect 44 0 48 4; -#X connect 45 0 48 3; -#X connect 46 0 48 2; -#X connect 47 0 48 1; -#X connect 48 0 61 0; -#X connect 49 0 61 1; -#X connect 51 0 61 0; -#X connect 57 0 59 0; -#X connect 59 0 60 0; -#X connect 61 0 3 0; +#X connect 15 0 47 32; +#X connect 16 0 47 31; +#X connect 17 0 47 30; +#X connect 18 0 47 29; +#X connect 19 0 47 28; +#X connect 20 0 47 27; +#X connect 21 0 47 26; +#X connect 22 0 47 25; +#X connect 23 0 47 24; +#X connect 24 0 47 23; +#X connect 25 0 47 22; +#X connect 26 0 47 21; +#X connect 27 0 47 20; +#X connect 28 0 47 19; +#X connect 29 0 47 18; +#X connect 30 0 47 17; +#X connect 31 0 47 16; +#X connect 32 0 47 15; +#X connect 33 0 47 14; +#X connect 34 0 47 13; +#X connect 35 0 47 12; +#X connect 36 0 47 11; +#X connect 37 0 47 10; +#X connect 38 0 47 9; +#X connect 39 0 47 8; +#X connect 40 0 47 7; +#X connect 41 0 47 6; +#X connect 42 0 47 5; +#X connect 43 0 47 4; +#X connect 44 0 47 3; +#X connect 45 0 47 2; +#X connect 46 0 47 1; +#X connect 47 0 62 0; +#X connect 48 0 59 1; +#X connect 50 0 59 0; +#X connect 55 0 57 0; +#X connect 57 0 58 0; +#X connect 59 0 3 0; +#X connect 61 0 47 0; +#X connect 62 0 59 0; |