diff options
-rw-r--r-- | arduino-test.pd | 333 | ||||
-rw-r--r-- | arduino.pd | 157 |
2 files changed, 287 insertions, 203 deletions
diff --git a/arduino-test.pd b/arduino-test.pd index fff45ac..83f0ebc 100644 --- a/arduino-test.pd +++ b/arduino-test.pd @@ -1,4 +1,4 @@ -#N canvas 110 186 746 588 10; +#N canvas 229 135 717 548 10; #X obj 512 7 import hardware mapping; #X obj 323 136 cnv 15 100 22 empty empty empty 20 12 0 14 -253938 -66577 0; @@ -36,42 +36,42 @@ #X coords 0 -1 1 1 136 17 1 60 60; #X restore 161 169 pd serin; #X text 158 151 serial port #; -#X text 418 525 released under the GNU GPL; -#X text 2 525 (C) Copyright 2006 Hans-Christoph Steiner <hans@at.or.at> +#X text 418 514 released under the GNU GPL; +#X text 2 514 (C) Copyright 2006 Hans-Christoph Steiner <hans@at.or.at> ; #X msg 221 192 close; -#X obj 641 310 tgl 15 0 empty empty changes 0 -6 0 8 -262144 -1 -1 +#X obj 601 344 tgl 15 0 empty empty changes 0 -6 0 8 -262144 -1 -1 0 1; -#X obj 580 310 tgl 15 0 empty empty all 0 -6 0 8 -262144 -1 -1 0 1 +#X obj 540 344 tgl 15 0 empty empty all 0 -6 0 8 -262144 -1 -1 0 1 ; -#N canvas 810 482 417 277 decode 0; +#N canvas 810 482 425 285 decode 0; #X obj 27 12 inlet; #X floatatom 59 58 5 0 0 0 - - -; -#X obj 46 128 tgl 15 0 empty empty 1 3 -6 0 10 -260818 -1 -1 0 2; -#X obj 64 128 tgl 15 0 empty empty 2 3 -6 0 10 -260818 -1 -1 0 4; -#X obj 82 128 tgl 15 0 empty empty 3 3 -6 0 10 -260818 -1 -1 0 8; -#X obj 100 128 tgl 15 0 empty empty 4 3 -6 0 10 -260818 -1 -1 0 16 +#X obj 46 128 tgl 15 0 empty empty 1 4 -6 1 12 -260818 -1 -1 0 2; +#X obj 64 128 tgl 15 0 empty empty 2 4 -6 1 12 -260818 -1 -1 0 4; +#X obj 82 128 tgl 15 0 empty empty 3 4 -6 1 12 -260818 -1 -1 0 8; +#X obj 100 128 tgl 15 0 empty empty 4 4 -6 1 12 -260818 -1 -1 0 16 ; -#X obj 119 128 tgl 15 0 empty empty 5 3 -6 0 10 -260818 -1 -1 0 32 +#X obj 119 128 tgl 15 0 empty empty 5 4 -6 1 12 -260818 -1 -1 0 32 ; -#X obj 137 128 tgl 15 0 empty empty 6 3 -6 0 10 -260818 -1 -1 0 64 +#X obj 137 128 tgl 15 0 empty empty 6 4 -6 1 12 -260818 -1 -1 0 64 ; -#X obj 156 128 tgl 15 0 empty empty 7 3 -6 0 10 -260818 -1 -1 0 128 +#X obj 156 128 tgl 15 0 empty empty 7 4 -6 1 12 -260818 -1 -1 0 128 ; -#X obj 174 128 tgl 15 0 empty empty 8 3 -6 0 10 -260818 -1 -1 0 256 +#X obj 174 128 tgl 15 0 empty empty 8 4 -6 1 12 -260818 -1 -1 0 256 ; -#X obj 194 128 tgl 15 0 empty empty 9 3 -6 0 10 -260818 -1 -1 0 512 +#X obj 194 128 tgl 15 0 empty empty 9 4 -6 1 12 -260818 -1 -1 0 512 ; -#X obj 211 128 tgl 15 0 empty empty 10 3 -6 0 10 -260818 -1 -1 0 1024 +#X obj 211 128 tgl 15 0 empty empty 10 0 -6 1 12 -260818 -1 -1 0 1024 ; -#X obj 230 128 tgl 15 0 empty empty 11 3 -6 0 10 -260818 -1 -1 0 2048 +#X obj 230 128 tgl 15 0 empty empty 11 0 -6 1 12 -260818 -1 -1 0 2048 ; -#X obj 248 128 tgl 15 0 empty empty 12 3 -6 0 10 -260818 -1 -1 0 4096 +#X obj 248 128 tgl 15 0 empty empty 12 0 -6 1 12 -260818 -1 -1 0 4096 ; -#X obj 267 128 tgl 15 0 empty empty 13 3 -6 0 10 -260818 -1 -1 0 8192 +#X obj 267 128 tgl 15 0 empty empty 13 0 -6 1 12 -260818 -1 -1 0 8192 ; -#X obj 28 128 tgl 15 0 empty empty 0 3 -6 0 10 -260818 -1 -1 0 1; -#N canvas 328 358 758 218 send-to-arduino................. 0; +#X obj 28 128 tgl 15 0 empty empty 0 4 -6 1 12 -260818 -1 -1 0 1; +#N canvas 328 358 762 222 send-to-arduino................. 0; #X obj 215 25 inlet; #X obj 15 129 outlet; #X obj 65 129 outlet; @@ -120,13 +120,11 @@ #X connect 16 11 12 0; #X connect 16 12 13 0; #X connect 16 13 14 0; -#X restore 571 462 pd decode buttons; +#X restore 478 380 pd decode buttons; #X obj 138 119 hsl 150 17 0 1 0 0 empty empty PWM_control_(0-1) -2 -6 1 10 -225271 -1 -1 0 0; -#X obj 53 334 tgl 15 1 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1 -; -#X obj 16 396 route analog0 analog1 analog2 analog3 analog4 analog5 -; +#X obj 297 332 tgl 15 1 empty empty empty 0 -6 0 8 -225271 -1 -1 1 +1; #X text 454 156 how many analogIns to enable:; #X obj 455 217 tgl 15 1 empty empty empty 0 -6 0 8 -257472 -1 -1 0 1; @@ -161,42 +159,6 @@ #X connect 11 0 9 0; #X coords 0 -1 1 1 121 17 1 60 60; #X restore 455 173 pd serin; -#N canvas 0 22 421 301 speed 0; -#X obj 21 41 inlet; -#X obj 21 62 maxlib/speedlim 100; -#X obj 21 84 outlet; -#X obj 82 125 inlet; -#X obj 82 146 maxlib/speedlim 100; -#X obj 82 168 outlet; -#X obj 92 135 inlet; -#X obj 92 156 maxlib/speedlim 100; -#X obj 92 178 outlet; -#X obj 102 145 inlet; -#X obj 102 166 maxlib/speedlim 100; -#X obj 102 188 outlet; -#X obj 112 155 inlet; -#X obj 112 176 maxlib/speedlim 100; -#X obj 112 198 outlet; -#X obj 122 165 inlet; -#X obj 122 186 maxlib/speedlim 100; -#X obj 122 208 outlet; -#X obj 262 175 inlet; -#X obj 262 218 outlet; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X connect 3 0 4 0; -#X connect 4 0 5 0; -#X connect 6 0 7 0; -#X connect 7 0 8 0; -#X connect 9 0 10 0; -#X connect 10 0 11 0; -#X connect 12 0 13 0; -#X connect 13 0 14 0; -#X connect 15 0 16 0; -#X connect 16 0 17 0; -#X connect 18 0 19 0; -#X restore 16 418 pd speed limiting for displaying values with pegging -the CPU; #N canvas 77 268 478 328 debugging 0; #X obj 136 31 inlet; #X obj 324 29 inlet; @@ -257,13 +219,13 @@ the CPU; #X connect 9 0 11 0; #X connect 10 0 8 0; #X connect 11 0 10 0; -#X restore 520 328 pd debugging stuff; -#X floatatom 16 443 5 0 0 3 analog0 - -; -#X floatatom 85 443 5 0 0 3 analog1 - -; -#X floatatom 154 443 5 0 0 3 analog2 - -; -#X floatatom 223 443 5 0 0 3 analog3 - -; -#X floatatom 292 443 5 0 0 3 analog4 - -; -#X floatatom 361 443 5 0 0 3 analog5 - -; +#X restore 480 362 pd debugging stuff; +#X floatatom 42 446 5 0 0 3 a0 - -; +#X floatatom 88 446 5 0 0 3 a1 - -; +#X floatatom 134 446 5 0 0 3 a2 - -; +#X floatatom 180 446 5 0 0 3 a3 - -; +#X floatatom 226 446 5 0 0 3 a4 - -; +#X floatatom 272 446 5 0 0 3 a5 - -; #X text 320 311 <- argument sets port #; #X msg 102 119 off; #X obj 80 91 hradio 15 1 0 14 empty empty empty 0 -6 0 8 -176124 -1 @@ -326,24 +288,24 @@ the CPU; #X msg 81 167 pwm 0 0; #X msg 328 195 info; #X msg 367 195 version; -#X obj 500 485 print [arduino]_VERSION; -#X obj 16 364 spigot; +#X obj 488 422 print [arduino]_VERSION; +#X obj 250 332 spigot; #X text 13 6 The [arduino] object works with the Firmata firmware for Arduino (previously known as Pduino firmware).; -#X obj 347 89 tgl 15 0 empty empty 1 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 365 89 tgl 15 0 empty empty 2 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 383 89 tgl 15 0 empty empty 3 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 401 89 tgl 15 0 empty empty 4 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 419 89 tgl 15 0 empty empty 5 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 437 89 tgl 15 0 empty empty 6 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 455 89 tgl 15 0 empty empty 7 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 473 89 tgl 15 0 empty empty 8 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 491 89 tgl 15 0 empty empty 9 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 509 89 tgl 15 0 empty empty 10 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 527 89 tgl 15 0 empty empty 11 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 545 89 tgl 15 0 empty empty 12 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 563 89 tgl 15 0 empty empty 13 3 -6 0 10 -260818 -1 -1 0 1; -#X obj 329 89 tgl 15 0 empty empty 0 3 -6 0 10 -260818 -1 -1 0 1; +#X obj 347 97 tgl 15 0 empty empty 1 3 -6 1 12 -260818 -1 -1 0 1; +#X obj 365 97 tgl 15 0 empty empty 2 3 -6 1 12 -260818 -1 -1 0 1; +#X obj 383 97 tgl 15 0 empty empty 3 3 -6 1 12 -260818 -1 -1 0 1; +#X obj 401 97 tgl 15 0 empty empty 4 3 -6 1 12 -260818 -1 -1 0 1; +#X obj 419 97 tgl 15 0 empty empty 5 3 -6 1 12 -260818 -1 -1 0 1; +#X obj 437 97 tgl 15 0 empty empty 6 3 -6 1 12 -260818 -1 -1 0 1; +#X obj 455 97 tgl 15 0 empty empty 7 3 -6 1 12 -260818 -1 -1 0 1; +#X obj 473 97 tgl 15 0 empty empty 8 3 -6 1 12 -260818 -1 -1 0 1; +#X obj 491 97 tgl 15 0 empty empty 9 3 -6 1 12 -260818 -1 -1 0 1; +#X obj 509 97 tgl 15 0 empty empty 10 0 -6 1 12 -260818 -1 -1 0 1; +#X obj 527 97 tgl 15 0 empty empty 11 0 -6 1 12 -260818 -1 -1 0 1; +#X obj 545 97 tgl 15 0 empty empty 12 0 -6 1 12 -260818 -1 -1 0 1; +#X obj 563 97 tgl 15 0 empty empty 13 0 -6 1 12 -260818 -1 -1 0 1; +#X obj 329 97 tgl 15 0 empty empty 0 3 -6 1 12 -260818 -1 -1 0 1; #N canvas 518 328 766 316 send-to-arduino---------------- 0; #X obj 49 24 inlet; #X obj 89 24 inlet; @@ -408,9 +370,8 @@ Arduino (previously known as Pduino firmware).; #X connect 30 0 29 0; #X connect 30 1 29 0; #X restore 329 116 pd send-to-arduino----------------; -#X text 330 61 turn on output mode for each pin (off=input); -#X obj 500 441 route version digital; -#X msg 329 138 pinMode 13 1; +#X text 328 64 turn on output mode for each pin (off=input); +#X msg 329 138 pinMode 7 0; #N canvas 101 54 451 328 sending 0; #X obj 69 158 cnv 15 100 22 empty empty empty 20 12 0 14 -253938 -66577 0; @@ -418,8 +379,8 @@ Arduino (previously known as Pduino firmware).; #X msg 78 161 digital 9 1; #X obj 197 98 tgl 15 0 empty empty 7 4 -6 1 12 -233017 -1 -1 0 1; #X obj 214 98 tgl 15 0 empty empty 8 4 -6 1 12 -233017 -1 -1 0 1; -#X obj 231 98 tgl 15 0 empty empty 9 4 -6 1 12 -233017 -1 -1 1 1; -#X obj 248 98 tgl 15 0 empty empty 10 0 -6 1 12 -233017 -1 -1 1 1; +#X obj 231 98 tgl 15 0 empty empty 9 4 -6 1 12 -233017 -1 -1 0 1; +#X obj 248 98 tgl 15 0 empty empty 10 0 -6 1 12 -233017 -1 -1 0 1; #X obj 265 98 tgl 15 0 empty empty 11 0 -6 1 12 -233017 -1 -1 0 1; #X obj 282 98 tgl 15 0 empty empty 12 0 -6 1 12 -233017 -1 -1 0 1; #X obj 299 98 tgl 15 0 empty empty 13 0 -6 1 12 -233017 -1 -1 0 1; @@ -534,63 +495,145 @@ Arduino (previously known as Pduino firmware).; #X connect 20 0 18 0; #X connect 21 0 19 0; #X restore 14 264 pd sending digital outs; -#X obj 250 340 route analog digital version; #X obj 14 245 tgl 15 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 16383 ; #X text 32 244 pulse all outputs; #X obj 250 312 arduino 1; -#X connect 4 0 76 0; +#X floatatom 318 446 5 0 0 3 a6 - -; +#X floatatom 364 446 5 0 0 3 a7 - -; +#X obj 250 351 route analog; +#X obj 141 389 route 0 1 2 3 4 5 6 7; +#N canvas 0 22 499 396 display 0; +#X obj 6 7 inlet; +#X obj 6 28 maxlib/speedlim 100; +#X obj 6 50 outlet; +#X obj 54 50 inlet; +#X obj 54 71 maxlib/speedlim 100; +#X obj 54 93 outlet; +#X obj 103 93 inlet; +#X obj 103 114 maxlib/speedlim 100; +#X obj 103 136 outlet; +#X obj 151 136 inlet; +#X obj 151 157 maxlib/speedlim 100; +#X obj 151 179 outlet; +#X obj 200 179 inlet; +#X obj 200 200 maxlib/speedlim 100; +#X obj 200 222 outlet; +#X obj 247 222 inlet; +#X obj 247 243 maxlib/speedlim 100; +#X obj 247 265 outlet; +#X obj 295 265 inlet; +#X obj 295 286 maxlib/speedlim 100; +#X obj 295 308 outlet; +#X obj 345 308 inlet; +#X obj 345 329 maxlib/speedlim 100; +#X obj 345 351 outlet; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X connect 3 0 4 0; +#X connect 4 0 5 0; +#X connect 6 0 7 0; +#X connect 7 0 8 0; +#X connect 9 0 10 0; +#X connect 10 0 11 0; +#X connect 12 0 13 0; +#X connect 13 0 14 0; +#X connect 15 0 16 0; +#X connect 16 0 17 0; +#X connect 18 0 19 0; +#X connect 19 0 20 0; +#X connect 21 0 22 0; +#X connect 22 0 23 0; +#X restore 65 420 pd display values without pegging the CPU; +#X obj 417 402 route digital version; +#X obj 417 446 route 0 1 2 3 4 5 6 7 8 9 10 11 12 13; +#X obj 435 468 tgl 15 0 empty empty 1 4 23 1 12 -232448 -1 -1 0 1; +#X obj 453 468 tgl 15 0 empty empty 2 4 23 1 12 -232448 -1 -1 0 1; +#X obj 471 468 tgl 15 0 empty empty 3 4 23 1 12 -232448 -1 -1 0 1; +#X obj 489 468 tgl 15 0 empty empty 4 4 23 1 12 -232448 -1 -1 0 1; +#X obj 507 468 tgl 15 0 empty empty 5 4 23 1 12 -232448 -1 -1 0 1; +#X obj 525 468 tgl 15 0 empty empty 6 4 23 1 12 -232448 -1 -1 0 1; +#X obj 543 468 tgl 15 0 empty empty 7 4 23 1 12 -232448 -1 -1 0 1; +#X obj 561 468 tgl 15 0 empty empty 8 4 23 1 12 -232448 -1 -1 0 1; +#X obj 579 468 tgl 15 0 empty empty 9 4 23 1 12 -232448 -1 -1 0 1; +#X obj 597 468 tgl 15 0 empty empty 10 0 23 1 12 -232448 -1 -1 0 1 +; +#X obj 615 468 tgl 15 0 empty empty 11 0 23 1 12 -232448 -1 -1 0 1 +; +#X obj 633 468 tgl 15 0 empty empty 12 0 23 1 12 -232448 -1 -1 0 1 +; +#X obj 651 468 tgl 15 0 empty empty 13 0 23 1 12 -232448 -1 -1 0 1 +; +#X obj 417 468 tgl 15 0 empty empty 0 4 23 1 12 -232448 -1 -1 0 1; +#X connect 4 0 72 0; #X connect 5 0 4 0; -#X connect 9 0 76 0; -#X connect 10 0 23 2; -#X connect 11 0 23 1; -#X connect 13 0 47 1; -#X connect 14 0 52 1; -#X connect 15 0 22 0; -#X connect 15 1 22 1; -#X connect 15 2 22 2; -#X connect 15 3 22 3; -#X connect 15 4 22 4; -#X connect 15 5 22 5; -#X connect 15 6 22 6; -#X connect 17 0 19 0; -#X connect 19 0 76 0; -#X connect 20 0 76 0; -#X connect 21 0 20 0; -#X connect 22 0 24 0; -#X connect 22 1 25 0; -#X connect 22 2 26 0; -#X connect 22 3 27 0; -#X connect 22 4 28 0; -#X connect 22 5 29 0; -#X connect 22 6 70 0; -#X connect 31 0 47 1; -#X connect 32 0 47 0; -#X connect 47 0 48 0; -#X connect 48 0 76 0; -#X connect 49 0 76 0; -#X connect 50 0 76 0; -#X connect 52 0 15 0; -#X connect 54 0 68 1; -#X connect 55 0 68 2; -#X connect 56 0 68 3; -#X connect 57 0 68 4; -#X connect 58 0 68 5; -#X connect 59 0 68 6; -#X connect 60 0 68 7; -#X connect 61 0 68 8; -#X connect 62 0 68 9; -#X connect 63 0 68 10; -#X connect 64 0 68 11; -#X connect 65 0 68 12; -#X connect 66 0 68 13; -#X connect 67 0 68 0; -#X connect 68 0 71 0; -#X connect 70 0 51 0; -#X connect 70 1 12 0; -#X connect 71 0 76 0; -#X connect 72 0 76 0; -#X connect 74 0 72 0; -#X connect 76 0 52 0; -#X connect 76 0 73 0; -#X connect 76 1 23 0; +#X connect 9 0 72 0; +#X connect 10 0 21 2; +#X connect 11 0 21 1; +#X connect 13 0 45 1; +#X connect 14 0 50 1; +#X connect 16 0 18 0; +#X connect 18 0 72 0; +#X connect 19 0 72 0; +#X connect 20 0 19 0; +#X connect 29 0 45 1; +#X connect 30 0 45 0; +#X connect 45 0 46 0; +#X connect 46 0 72 0; +#X connect 47 0 72 0; +#X connect 48 0 72 0; +#X connect 50 0 75 0; +#X connect 52 0 66 1; +#X connect 53 0 66 2; +#X connect 54 0 66 3; +#X connect 55 0 66 4; +#X connect 56 0 66 5; +#X connect 57 0 66 6; +#X connect 58 0 66 7; +#X connect 59 0 66 8; +#X connect 60 0 66 9; +#X connect 61 0 66 10; +#X connect 62 0 66 11; +#X connect 63 0 66 12; +#X connect 64 0 66 13; +#X connect 65 0 66 0; +#X connect 66 0 68 0; +#X connect 68 0 72 0; +#X connect 69 0 72 0; +#X connect 70 0 69 0; +#X connect 72 0 50 0; +#X connect 72 1 21 0; +#X connect 75 0 76 0; +#X connect 75 1 78 0; +#X connect 76 0 77 0; +#X connect 76 1 77 1; +#X connect 76 2 77 2; +#X connect 76 3 77 3; +#X connect 76 4 77 4; +#X connect 76 5 77 5; +#X connect 76 6 77 6; +#X connect 76 7 77 7; +#X connect 77 0 22 0; +#X connect 77 1 23 0; +#X connect 77 2 24 0; +#X connect 77 3 25 0; +#X connect 77 4 26 0; +#X connect 77 5 27 0; +#X connect 77 6 73 0; +#X connect 77 7 74 0; +#X connect 78 0 79 0; +#X connect 78 1 49 0; +#X connect 79 0 93 0; +#X connect 79 1 80 0; +#X connect 79 2 81 0; +#X connect 79 3 82 0; +#X connect 79 4 83 0; +#X connect 79 5 84 0; +#X connect 79 6 85 0; +#X connect 79 7 86 0; +#X connect 79 8 87 0; +#X connect 79 9 88 0; +#X connect 79 10 89 0; +#X connect 79 11 90 0; +#X connect 79 12 91 0; +#X connect 79 13 92 0; @@ -1,9 +1,9 @@ -#N canvas 361 22 682 319 10; -#X text 415 287 released under the GNU GPL; -#X text 10 287 (C) Copyright 2006 Hans-Christoph Steiner <hans@at.or.at> +#N canvas 497 22 680 308 10; +#X text 415 277 released under the GNU GPL; +#X text 10 277 (C) Copyright 2006 Hans-Christoph Steiner <hans@at.or.at> ; #X obj 11 21 inlet; -#X obj 11 196 outlet; +#X obj 10 241 outlet; #X obj 494 241 outlet; #N canvas 382 102 637 357 command 0; #X obj 24 7 inlet; @@ -185,12 +185,11 @@ to input; #X obj 379 19 inlet; #X text 354 0 raw input; #X text 10 -1 processed input; -#N canvas 182 25 396 459 make 0; -#X obj 147 8 inlet; -#X obj 71 334 outlet; -#X obj 147 37 moses 128; -#X obj 27 198 float; -#N canvas 382 81 506 356 alternate 0; +#N canvas 756 135 471 397 make 0; +#X obj 37 8 inlet; +#X obj 37 37 moses 128; +#X obj 65 135 float; +#N canvas 382 81 514 364 alternate 0; #X obj 34 280 outlet; #X obj 209 277 outlet; #X obj 34 210 spigot; @@ -228,60 +227,102 @@ to input; #X connect 14 0 4 0; #X connect 15 0 11 1; #X connect 16 0 10 1; -#X restore 147 130 pd alternate; -#X obj 27 173 trigger bang float; -#X obj 226 111 bang; -#N canvas 0 22 588 364 convert 0; -#X obj 98 22 inlet; -#X obj 163 314 outlet; -#X obj 365 204 print UNKNOWN_INPUT_COMMAND; -#X obj 98 68 select 151 240; -#X obj 191 89 moses 161; -#X obj 188 195 makefilename analog%c; -#X obj 188 174 - 113; -#X msg 117 131 symbol version; -#X msg 8 131 symbol digital; -#X obj 250 113 moses 170; -#X connect 0 0 3 0; -#X connect 3 0 8 0; -#X connect 3 1 7 0; -#X connect 3 2 4 0; -#X connect 4 0 2 0; -#X connect 4 1 9 0; -#X connect 5 0 1 0; -#X connect 6 0 5 0; -#X connect 7 0 1 0; -#X connect 8 0 1 0; -#X connect 9 0 6 0; -#X connect 9 1 2 0; -#X restore 27 219 pd convert commands; -#X obj 70 296 list trim; -#X obj 70 273 pack symbol float; -#X obj 184 219 +; -#X obj 200 197 * 128; +#X restore 37 81 pd alternate; +#X obj 37 114 trigger bang float; +#X obj 116 61 bang; +#X obj 131 322 outlet; +#X obj 223 322 print UNKNOWN_INPUT_COMMAND; +#X obj 65 155 pack float float float; +#X obj 65 198 route 240 151; +#X msg 20 247 version \$2 \$1; +#N canvas 141 182 545 394 digital 0; +#X obj 77 16 inlet; +#X obj 73 346 outlet; +#X obj 77 173 print DIGITAL_UNINMPLEMENTED; #X connect 0 0 2 0; -#X connect 2 0 4 0; -#X connect 2 1 3 1; -#X connect 2 1 6 0; -#X connect 3 0 7 0; -#X connect 4 0 5 0; -#X connect 4 1 11 0; -#X connect 5 0 3 0; -#X connect 5 1 10 0; -#X connect 6 0 4 1; -#X connect 7 0 9 0; -#X connect 8 0 1 0; -#X connect 9 0 8 0; -#X connect 10 0 9 1; -#X connect 11 0 10 1; +#X restore 123 247 pd digital messages; +#N canvas 81 317 535 449 analog 0; +#X obj 85 6 inlet; +#X obj 63 383 outlet; +#X obj 85 47 moses 161; +#X obj 143 65 moses 170; +#X obj 141 160 list; +#X obj 385 383 outlet; +#X msg 347 141 2; +#X msg 219 141 1; +#X obj 233 114 trigger bang bang; +#X msg 63 360 analog \$1 \$2; +#X obj 63 339 pack float float; +#X text 241 384 unprocessed messages; +#X obj 140 241 unpack float float float; +#X obj 63 114 trigger float bang bang; +#X obj 303 260 << 7; +#X obj 221 285 +; +#X obj 221 306 / 1023; +#X obj 63 143 - 161; +#X obj 85 26 trigger anything anything; +#X obj 386 217 spigot; +#X obj 423 198 == 2; +#X obj 140 222 spigot; +#X obj 177 203 == 1; +#X obj 254 59 print ANYTHING; +#X connect 0 0 18 0; +#X connect 2 0 8 0; +#X connect 2 1 3 0; +#X connect 3 0 13 0; +#X connect 3 1 8 0; +#X connect 4 0 19 0; +#X connect 4 0 21 0; +#X connect 6 0 20 0; +#X connect 6 0 22 0; +#X connect 7 0 22 0; +#X connect 7 0 20 0; +#X connect 8 0 4 0; +#X connect 8 1 6 0; +#X connect 9 0 1 0; +#X connect 10 0 9 0; +#X connect 12 1 15 0; +#X connect 12 2 14 0; +#X connect 13 0 17 0; +#X connect 13 1 4 0; +#X connect 13 2 7 0; +#X connect 14 0 15 1; +#X connect 15 0 16 0; +#X connect 16 0 10 1; +#X connect 17 0 10 0; +#X connect 18 0 2 0; +#X connect 18 1 4 1; +#X connect 19 0 5 0; +#X connect 20 0 19 1; +#X connect 21 0 12 0; +#X connect 22 0 21 1; +#X restore 266 246 pd analog messages; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 1 1 5 0; +#X connect 1 1 2 1; +#X connect 2 0 8 0; +#X connect 3 0 4 0; +#X connect 3 1 8 2; +#X connect 4 0 2 0; +#X connect 4 1 8 1; +#X connect 5 0 3 1; +#X connect 8 0 9 0; +#X connect 9 0 10 0; +#X connect 9 1 11 0; +#X connect 9 2 12 0; +#X connect 10 0 6 0; +#X connect 11 0 6 0; +#X connect 12 0 6 0; +#X connect 12 1 7 0; #X restore 10 165 pd make lists; #X obj 288 103 spigot; #X obj 319 81 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; -#X obj 118 116 print comport; -#X obj 11 96 comport \$1 19200; +#X obj 125 120 print comport; +#X obj 11 96 comport \$1 115200; #X obj 288 126 print command; -#X obj 448 19 import flatspace iemlib mapping; +#X obj 438 19 import flatspace iemlib mapping; #X connect 2 0 5 0; #X connect 5 0 11 0; #X connect 5 0 14 0; |