annotate projects/heavy/pd/hello-midi/bela_ctlin.pd @ 291:46c12546664f

Added example Heavy/Midi patch
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 21 May 2016 15:28:03 +0100
parents
children
rev   line source
giuliomoro@291 1 #N canvas 554 204 703 475 10;
giuliomoro@291 2 #X obj 53 431 outlet;
giuliomoro@291 3 #X obj 108 429 outlet;
giuliomoro@291 4 #X obj 99 127 r ctlin;
giuliomoro@291 5 #X obj 92 151 unpack f f f;
giuliomoro@291 6 #X obj 154 429 outlet;
giuliomoro@291 7 #X obj 86 322 spigot;
giuliomoro@291 8 #X text 51 450 value;
giuliomoro@291 9 #X text 105 450 number;
giuliomoro@291 10 #X obj 211 138 loadbang;
giuliomoro@291 11 #X obj 177 193 \$1;
giuliomoro@291 12 #X obj 126 214 == \$1;
giuliomoro@291 13 #X obj 119 299 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
giuliomoro@291 14 1;
giuliomoro@291 15 #X obj 84 349 unpack f f f;
giuliomoro@291 16 #X obj 143 247 ||;
giuliomoro@291 17 #X obj 177 217 == 0;
giuliomoro@291 18 #X text 70 11 Emulates ctlin \, except number of outlets is fixed.
giuliomoro@291 19 ;
giuliomoro@291 20 #X obj 228 247 ||;
giuliomoro@291 21 #X obj 262 217 == 0;
giuliomoro@291 22 #X obj 212 214 == \$2;
giuliomoro@291 23 #X obj 262 193 \$2;
giuliomoro@291 24 #X obj 177 277 &&;
giuliomoro@291 25 #X obj 211 163 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
giuliomoro@291 26 -1 -1;
giuliomoro@291 27 #X text 173 299 If (inputController==\$1 || \$1==0) && (inputChannel==\$2
giuliomoro@291 28 || \$2==0);
giuliomoro@291 29 #X text 197 52 Known issue: trying to select inputController 0 will
giuliomoro@291 30 result i accepting all controllers (because a pd external cannot tell
giuliomoro@291 31 the difference between \$1 been explicitely set to 0 and the patch
giuliomoro@291 32 not having any argument);
giuliomoro@291 33 #X text 162 450 channel;
giuliomoro@291 34 #X obj 56 192 pack f f f;
giuliomoro@291 35 #X obj 80 408 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
giuliomoro@291 36 -1;
giuliomoro@291 37 #X floatatom 81 382 5 0 0 0 - - -, f 5;
giuliomoro@291 38 #X obj 121 412 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
giuliomoro@291 39 -1 -1;
giuliomoro@291 40 #X floatatom 122 386 5 0 0 0 - - -, f 5;
giuliomoro@291 41 #X obj 172 406 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
giuliomoro@291 42 -1 -1;
giuliomoro@291 43 #X floatatom 173 380 5 0 0 0 - - -, f 5;
giuliomoro@291 44 #X obj 122 92 s ctlin;
giuliomoro@291 45 #X obj 64 29 r bela_ctlin;
giuliomoro@291 46 #X connect 2 0 3 0;
giuliomoro@291 47 #X connect 3 0 25 0;
giuliomoro@291 48 #X connect 3 1 10 0;
giuliomoro@291 49 #X connect 3 1 25 1;
giuliomoro@291 50 #X connect 3 2 18 0;
giuliomoro@291 51 #X connect 3 2 25 2;
giuliomoro@291 52 #X connect 5 0 12 0;
giuliomoro@291 53 #X connect 8 0 21 0;
giuliomoro@291 54 #X connect 9 0 14 0;
giuliomoro@291 55 #X connect 10 0 13 0;
giuliomoro@291 56 #X connect 11 0 5 1;
giuliomoro@291 57 #X connect 12 0 0 0;
giuliomoro@291 58 #X connect 12 0 27 0;
giuliomoro@291 59 #X connect 12 1 1 0;
giuliomoro@291 60 #X connect 12 1 29 0;
giuliomoro@291 61 #X connect 12 2 4 0;
giuliomoro@291 62 #X connect 12 2 31 0;
giuliomoro@291 63 #X connect 13 0 20 0;
giuliomoro@291 64 #X connect 14 0 13 1;
giuliomoro@291 65 #X connect 16 0 20 1;
giuliomoro@291 66 #X connect 17 0 16 1;
giuliomoro@291 67 #X connect 18 0 16 0;
giuliomoro@291 68 #X connect 19 0 17 0;
giuliomoro@291 69 #X connect 20 0 11 0;
giuliomoro@291 70 #X connect 21 0 9 0;
giuliomoro@291 71 #X connect 21 0 19 0;
giuliomoro@291 72 #X connect 25 0 5 0;
giuliomoro@291 73 #X connect 27 0 26 0;
giuliomoro@291 74 #X connect 29 0 28 0;
giuliomoro@291 75 #X connect 31 0 30 0;
giuliomoro@291 76 #X connect 33 0 32 0;