annotate projects/heavy/pd/hello-midi/bela_notein.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 399 23 629 685 10;
giuliomoro@291 2 #X obj 94 481 outlet;
giuliomoro@291 3 #X obj 165 475 outlet;
giuliomoro@291 4 #X obj 141 184 unpack f f f;
giuliomoro@291 5 #X obj 221 472 outlet;
giuliomoro@291 6 #X obj 143 365 spigot;
giuliomoro@291 7 #X obj 268 181 loadbang;
giuliomoro@291 8 #X obj 234 236 \$1;
giuliomoro@291 9 #X obj 183 257 == \$1;
giuliomoro@291 10 #X obj 176 342 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
giuliomoro@291 11 1;
giuliomoro@291 12 #X obj 143 392 unpack f f f;
giuliomoro@291 13 #X obj 200 290 ||;
giuliomoro@291 14 #X obj 234 260 == 0;
giuliomoro@291 15 #X obj 268 206 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
giuliomoro@291 16 -1 -1;
giuliomoro@291 17 #X text 160 65 Emulates notein \, except number of outlets is fixed.
giuliomoro@291 18 ;
giuliomoro@291 19 #X text 92 499 notenumber;
giuliomoro@291 20 #X text 161 489 velocity;
giuliomoro@291 21 #X text 220 486 channel;
giuliomoro@291 22 #X text 229 311 If (inputChannel==\$1 || \$1==0);
giuliomoro@291 23 #X obj 115 232 pack f f f;
giuliomoro@291 24 #X obj 82 428 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
giuliomoro@291 25 -1;
giuliomoro@291 26 #X floatatom 84 410 5 0 0 0 - - -, f 5;
giuliomoro@291 27 #X obj 145 448 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
giuliomoro@291 28 -1 -1;
giuliomoro@291 29 #X floatatom 147 430 5 0 0 0 - - -, f 5;
giuliomoro@291 30 #X obj 198 451 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
giuliomoro@291 31 -1 -1;
giuliomoro@291 32 #X floatatom 200 433 5 0 0 0 - - -, f 5;
giuliomoro@291 33 #X obj 131 112 s notein;
giuliomoro@291 34 #X obj 140 149 r notein;
giuliomoro@291 35 #X obj 135 84 r bela_notein;
giuliomoro@291 36 #X connect 2 0 18 0;
giuliomoro@291 37 #X connect 2 1 18 1;
giuliomoro@291 38 #X connect 2 2 7 0;
giuliomoro@291 39 #X connect 2 2 18 2;
giuliomoro@291 40 #X connect 4 0 9 0;
giuliomoro@291 41 #X connect 5 0 12 0;
giuliomoro@291 42 #X connect 6 0 11 0;
giuliomoro@291 43 #X connect 7 0 10 0;
giuliomoro@291 44 #X connect 8 0 4 1;
giuliomoro@291 45 #X connect 9 0 0 0;
giuliomoro@291 46 #X connect 9 0 20 0;
giuliomoro@291 47 #X connect 9 1 1 0;
giuliomoro@291 48 #X connect 9 1 22 0;
giuliomoro@291 49 #X connect 9 2 3 0;
giuliomoro@291 50 #X connect 9 2 24 0;
giuliomoro@291 51 #X connect 10 0 8 0;
giuliomoro@291 52 #X connect 11 0 10 1;
giuliomoro@291 53 #X connect 12 0 6 0;
giuliomoro@291 54 #X connect 18 0 4 0;
giuliomoro@291 55 #X connect 20 0 19 0;
giuliomoro@291 56 #X connect 22 0 21 0;
giuliomoro@291 57 #X connect 24 0 23 0;
giuliomoro@291 58 #X connect 26 0 2 0;
giuliomoro@291 59 #X connect 27 0 25 0;