annotate examples/08-PureData/digital/_main.pd @ 482:4d5edf7ee953 prerelease

heavy: support for signal-rate digitals and Scope.
author Giulio Moro <giuliomoro@yahoo.it>
date Tue, 21 Jun 2016 14:27:26 +0100
parents 4ff80956c27a
children ddb86944e138
rev   line source
giuliomoro@482 1 #N canvas 272 16 857 690 10;
robert@464 2 #X obj 18 477 osc~ 200;
robert@464 3 #X obj 57 522 *~;
robert@464 4 #X obj 112 405 line~ 1;
robert@464 5 #X msg 116 372 1 \, 0 200;
robert@464 6 #X obj 205 472 line~ 1;
robert@464 7 #X msg 209 439 1 \, 0 200;
robert@464 8 #X obj 210 405 select 1;
robert@464 9 #X obj 140 531 *~;
giuliomoro@482 10 #X obj 534 622 s bela_setDigital;
giuliomoro@482 11 #X obj 534 553 loadbang;
robert@464 12 #X msg 65 445 0;
robert@464 13 #X obj 116 332 r bela_digitalIn12;
robert@464 14 #X obj 422 217 r bela_digitalIn14;
robert@464 15 #X obj 422 243 s bela_digitalOut13;
robert@464 16 #X obj 285 218 r bela_digitalIn12;
robert@464 17 #X obj 285 243 s bela_digitalOut11;
robert@464 18 #X obj 374 339 timer;
robert@464 19 #X msg 404 304 bang;
robert@464 20 #X msg 368 304 bang;
giuliomoro@480 21 #X obj 556 160 metro 1000;
robert@464 22 #X obj 575 304 s bela_digitalOut15;
giuliomoro@480 23 #X obj 354 380 print sourceto12;
robert@464 24 #X obj 488 351 timer;
robert@464 25 #X msg 518 316 bang;
robert@464 26 #X msg 482 316 bang;
robert@464 27 #X obj 487 380 print sourceto14;
giuliomoro@480 28 #X obj 650 146 r bela_digitalIn16;
robert@464 29 #X msg 553 265 1;
robert@464 30 #X obj 577 214 delay 500;
robert@464 31 #X obj 480 275 select 1;
robert@464 32 #X obj 346 268 select 1;
robert@464 33 #X msg 584 281 0;
giuliomoro@480 34 #X obj 637 221 select 1 0;
giuliomoro@480 35 #X obj 80 663 dac~ 3 4;
giuliomoro@482 36 #X msg 458 576 disable 12;
giuliomoro@480 37 #X obj 158 595 *~ 0.5;
giuliomoro@480 38 #X obj 157 622 +~ 0.5;
giuliomoro@480 39 #X obj 53 584 *~ 0.5;
giuliomoro@480 40 #X obj 52 611 +~ 0.5;
giuliomoro@480 41 #X text 183 37 This is just a stub ...;
giuliomoro@480 42 #X obj 308 643 dac~ 1 2;
giuliomoro@480 43 #X obj 311 606 *~ 0.1;
giuliomoro@482 44 #X obj 337 550 osc~ 120;
giuliomoro@480 45 #X msg 585 438 0;
giuliomoro@480 46 #X obj 649 185 print digitalIn16;
giuliomoro@480 47 #X obj 672 373 print digitalIn14;
giuliomoro@480 48 #X text 185 103 This section requires some hardware loopback between
giuliomoro@480 49 15 and 14 \, 13 and 12 Have fun figuring out the pins on P8 (or P9
giuliomoro@480 50 ???) If you do it properly \, you can measure roundtrip latency with
giuliomoro@480 51 multiple digital/analog feed-forward networs;
giuliomoro@480 52 #X obj 552 112 loadbang;
giuliomoro@480 53 #X obj 206 291 print digitalIn12;
giuliomoro@480 54 #X text 548 130 connect a switch to digitalIn16 or turn on the metro
giuliomoro@480 55 here;
giuliomoro@482 56 #X obj 287 449 adc~ 17;
giuliomoro@482 57 #X obj 299 506 phasor~ 300;
giuliomoro@482 58 #X obj 293 539 *~;
giuliomoro@482 59 #X obj 409 622 dac~ 26;
giuliomoro@482 60 #X msg 534 584 out 11 \, in 12 \, out 13 \, in 14 \, out 15 \, in 16
giuliomoro@482 61 \, in 17 ~ \, out 26 ~;
giuliomoro@482 62 #X obj 378 427 phasor~ 0.2;
giuliomoro@482 63 #X obj 373 455 *~ 1000;
giuliomoro@482 64 #X obj 620 524 dac~ 27 28 29 30;
giuliomoro@482 65 #X obj 621 466 osc~ 30;
robert@464 66 #X connect 0 0 1 0;
robert@464 67 #X connect 0 0 7 0;
giuliomoro@480 68 #X connect 1 0 37 0;
robert@464 69 #X connect 2 0 1 1;
robert@464 70 #X connect 3 0 2 0;
robert@464 71 #X connect 4 0 7 1;
robert@464 72 #X connect 5 0 4 0;
robert@464 73 #X connect 6 0 5 0;
robert@464 74 #X connect 6 0 10 0;
robert@464 75 #X connect 7 0 35 0;
giuliomoro@482 76 #X connect 9 0 54 0;
robert@464 77 #X connect 10 0 0 1;
robert@464 78 #X connect 11 0 3 0;
robert@464 79 #X connect 12 0 13 0;
robert@464 80 #X connect 12 0 29 0;
giuliomoro@480 81 #X connect 12 0 45 0;
robert@464 82 #X connect 14 0 15 0;
robert@464 83 #X connect 14 0 30 0;
giuliomoro@482 84 #X connect 14 0 48 0;
robert@464 85 #X connect 16 0 21 0;
robert@464 86 #X connect 17 0 16 1;
robert@464 87 #X connect 18 0 16 0;
robert@464 88 #X connect 19 0 27 0;
robert@464 89 #X connect 19 0 28 0;
robert@464 90 #X connect 22 0 25 0;
robert@464 91 #X connect 23 0 22 1;
robert@464 92 #X connect 24 0 22 0;
robert@464 93 #X connect 26 0 32 0;
giuliomoro@480 94 #X connect 26 0 43 0;
giuliomoro@480 95 #X connect 26 0 44 0;
robert@464 96 #X connect 27 0 20 0;
robert@464 97 #X connect 27 0 24 0;
robert@464 98 #X connect 27 0 18 0;
robert@464 99 #X connect 28 0 31 0;
robert@464 100 #X connect 29 0 23 0;
robert@464 101 #X connect 30 0 17 0;
robert@464 102 #X connect 31 0 20 0;
robert@464 103 #X connect 32 0 27 0;
robert@464 104 #X connect 32 1 31 0;
giuliomoro@480 105 #X connect 34 0 8 0;
giuliomoro@480 106 #X connect 35 0 36 0;
giuliomoro@480 107 #X connect 36 0 33 1;
robert@464 108 #X connect 37 0 38 0;
giuliomoro@480 109 #X connect 38 0 33 0;
giuliomoro@480 110 #X connect 41 0 40 0;
giuliomoro@480 111 #X connect 42 0 41 0;
giuliomoro@482 112 #X connect 42 0 53 0;
giuliomoro@482 113 #X connect 42 0 57 3;
giuliomoro@480 114 #X connect 43 0 42 1;
giuliomoro@482 115 #X connect 50 0 52 0;
giuliomoro@482 116 #X connect 51 0 52 1;
giuliomoro@482 117 #X connect 52 0 40 1;
giuliomoro@482 118 #X connect 54 0 8 0;
giuliomoro@482 119 #X connect 55 0 56 0;
giuliomoro@482 120 #X connect 56 0 42 0;
giuliomoro@482 121 #X connect 58 0 57 0;