aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Iannini <lukeiannini@users.sourceforge.net>2008-08-01 19:47:16 +0000
committerLuke Iannini <lukeiannini@users.sourceforge.net>2008-08-01 19:47:16 +0000
commit68b34c62f124a293986e20266427e6f1b296d944 (patch)
tree5f2d1057ffda8edc187ca40bfa54b9e1b415128f
parentb8d08b8101cc80d9ef4e758ae3ddc7e28e96a8a7 (diff)
split up previously [notein] like interface into trigger, note and velocity
svn path=/trunk/abstractions/senderfruit/; revision=10230
-rw-r--r--controctopus/note-learner.pd159
1 files changed, 87 insertions, 72 deletions
diff --git a/controctopus/note-learner.pd b/controctopus/note-learner.pd
index d681dda..75179f9 100644
--- a/controctopus/note-learner.pd
+++ b/controctopus/note-learner.pd
@@ -4,7 +4,7 @@
#X obj 358 389 pack;
#X obj 358 297 t b b;
#X obj 102 293 nbx 2 14 1 128 0 0 \$0-padNumber \$0-padNumberR Pad
-32 7 0 11 -154432 -1 -1 2 256;
+32 7 0 11 -154432 -1 -1 65 256;
#X obj 102 276 nbx 2 14 0 127 0 0 \$0-noteNumber \$0-noteNumberLearn
Note 32 7 0 11 -260624 -1 -1 0 256;
#X obj 442 406 outlet;
@@ -21,7 +21,7 @@ Note 32 7 0 11 -260624 -1 -1 0 256;
#X obj 358 229 spigot;
#X obj 152 263 nbx 2 13 1 64 0 0 \$0devNo \$1/devNo empty 0 -6 0 10
-110565 -1 -1 1 256;
-#X msg 733 461 2;
+#X msg 733 461 65;
#X obj 733 493 pack;
#X msg 792 444 set \$1;
#X obj 801 336 r \$0-noteNumber;
@@ -80,7 +80,6 @@ Note 32 7 0 11 -260624 -1 -1 0 256;
#X text 351 17 Intercepts for looping back MIDI (e.g. from sft.schoen)
;
#X obj 755 353 ==;
-#X obj 308 632 s;
#X obj 722 610 s;
#X obj 391 138 div 16;
#X obj 391 198 ==;
@@ -145,44 +144,54 @@ Note 32 7 0 11 -260624 -1 -1 0 256;
#X connect 10 2 11 0;
#X connect 11 0 12 0;
#X restore 358 349 pd padSelect;
-#X obj 501 627 s;
-#X obj 516 562 r \$0-padNumber;
-#X obj 516 583 list prepend \$3;
-#X msg 516 604 symbol \$1\$2/velocity/in;
+#X obj 191 627 s;
+#X obj 206 562 r \$0-padNumber;
+#X obj 206 583 list prepend \$3;
+#X msg 206 604 symbol \$1\$2/velocity/in;
#X obj 456 327 s \$0velocity;
#X obj 625 391 r \$0velocity;
-#X obj 501 542 r \$0velocity;
-#X obj 335 589 r \$0-padNumber;
-#X obj 335 610 list prepend \$3;
-#X msg 335 632 symbol \$1\$2/note/in;
+#X obj 191 542 r \$0velocity;
#X msg 737 588 symbol \$1\$2/polytouch/in;
#X obj 737 567 list prepend \$3;
#X obj 737 547 r \$0-padNumber;
+#X obj 268 354 s \$0note;
+#X obj 385 369 s \$0trigger;
+#X obj 51 627 s;
+#X obj 66 562 r \$0-padNumber;
+#X obj 66 583 list prepend \$3;
+#X msg 66 604 symbol \$1\$2/note/in;
+#X obj 51 542 r \$0note;
+#X obj 507 516 r \$0trigger;
+#X obj 507 627 s;
+#X obj 522 562 r \$0-padNumber;
+#X obj 522 583 list prepend \$3;
+#X msg 522 604 symbol \$1\$2/trigger/in;
+#X obj 507 538 != 0;
#X connect 0 0 3 0;
#X connect 1 0 2 1;
-#X connect 1 0 63 0;
+#X connect 1 0 62 0;
+#X connect 1 0 84 0;
#X connect 2 0 6 0;
-#X connect 2 0 36 0;
-#X connect 2 0 69 0;
-#X connect 2 0 54 0;
-#X connect 3 0 72 0;
+#X connect 2 0 68 0;
+#X connect 2 0 53 0;
+#X connect 3 0 71 0;
#X connect 3 1 1 0;
-#X connect 4 0 58 0;
-#X connect 5 0 57 0;
+#X connect 4 0 57 0;
+#X connect 5 0 56 0;
#X connect 11 0 0 1;
-#X connect 12 0 72 1;
+#X connect 12 0 71 1;
#X connect 13 0 0 0;
-#X connect 14 0 56 0;
+#X connect 14 0 55 0;
#X connect 15 0 16 0;
-#X connect 16 0 55 0;
+#X connect 16 0 54 0;
#X connect 17 0 15 0;
#X connect 18 0 35 1;
#X connect 19 0 17 0;
#X connect 20 0 35 0;
-#X connect 21 0 59 0;
-#X connect 21 1 60 0;
-#X connect 21 2 61 0;
-#X connect 22 0 62 0;
+#X connect 21 0 58 0;
+#X connect 21 1 59 0;
+#X connect 21 2 60 0;
+#X connect 22 0 61 0;
#X connect 23 0 15 0;
#X connect 23 1 16 1;
#X connect 25 0 26 0;
@@ -194,56 +203,62 @@ Note 32 7 0 11 -260624 -1 -1 0 256;
#X connect 30 0 13 0;
#X connect 30 0 29 0;
#X connect 31 0 28 0;
-#X connect 32 0 42 0;
+#X connect 32 0 41 0;
#X connect 33 0 30 0;
#X connect 33 1 31 0;
#X connect 33 2 32 0;
#X connect 35 0 22 1;
-#X connect 38 0 46 0;
-#X connect 39 0 13 1;
-#X connect 40 0 39 1;
-#X connect 41 0 43 0;
-#X connect 42 0 38 0;
-#X connect 42 1 41 0;
-#X connect 44 0 45 0;
-#X connect 45 0 43 0;
-#X connect 46 0 39 0;
-#X connect 47 0 53 0;
-#X connect 48 0 20 1;
-#X connect 49 0 48 1;
-#X connect 50 0 52 0;
-#X connect 51 0 47 0;
-#X connect 51 1 50 0;
-#X connect 53 0 48 0;
-#X connect 56 0 14 0;
-#X connect 57 0 5 0;
-#X connect 58 0 4 0;
-#X connect 59 0 27 0;
-#X connect 60 0 20 0;
-#X connect 61 0 51 0;
-#X connect 62 0 23 0;
-#X connect 62 0 37 0;
-#X connect 63 1 78 0;
-#X connect 67 0 30 0;
-#X connect 67 1 31 0;
-#X connect 67 2 32 0;
-#X connect 68 0 59 0;
-#X connect 68 1 60 0;
-#X connect 68 2 61 0;
-#X connect 69 0 70 0;
-#X connect 71 0 54 0;
-#X connect 71 0 36 0;
-#X connect 72 0 73 0;
-#X connect 73 0 2 0;
+#X connect 37 0 45 0;
+#X connect 38 0 13 1;
+#X connect 39 0 38 1;
+#X connect 40 0 42 0;
+#X connect 41 0 37 0;
+#X connect 41 1 40 0;
+#X connect 43 0 44 0;
+#X connect 44 0 42 0;
+#X connect 45 0 38 0;
+#X connect 46 0 52 0;
+#X connect 47 0 20 1;
+#X connect 48 0 47 1;
+#X connect 49 0 51 0;
+#X connect 50 0 46 0;
+#X connect 50 1 49 0;
+#X connect 52 0 47 0;
+#X connect 55 0 14 0;
+#X connect 56 0 5 0;
+#X connect 57 0 4 0;
+#X connect 58 0 27 0;
+#X connect 59 0 20 0;
+#X connect 60 0 50 0;
+#X connect 61 0 23 0;
+#X connect 61 0 36 0;
+#X connect 62 1 77 0;
+#X connect 66 0 30 0;
+#X connect 66 1 31 0;
+#X connect 66 2 32 0;
+#X connect 67 0 58 0;
+#X connect 67 1 59 0;
+#X connect 67 2 60 0;
+#X connect 68 0 69 0;
+#X connect 70 0 53 0;
+#X connect 71 0 72 0;
+#X connect 71 0 83 0;
+#X connect 72 0 2 0;
+#X connect 74 0 75 0;
#X connect 75 0 76 0;
-#X connect 76 0 77 0;
-#X connect 77 0 74 1;
-#X connect 79 0 62 0;
-#X connect 80 0 74 0;
-#X connect 81 0 82 0;
-#X connect 82 0 83 0;
-#X connect 83 0 36 1;
-#X connect 84 0 37 1;
-#X connect 85 0 84 0;
-#X connect 86 0 85 0;
+#X connect 76 0 73 1;
+#X connect 78 0 61 0;
+#X connect 79 0 73 0;
+#X connect 80 0 36 1;
+#X connect 81 0 80 0;
+#X connect 82 0 81 0;
+#X connect 86 0 87 0;
+#X connect 87 0 88 0;
+#X connect 88 0 85 1;
+#X connect 89 0 85 0;
+#X connect 90 0 95 0;
+#X connect 92 0 93 0;
+#X connect 93 0 94 0;
+#X connect 94 0 91 1;
+#X connect 95 0 91 0;
#X coords 0 -1 1 1 81 60 1 100 250;