Mercurial > hg > beaglert
annotate projects/heavy/pd/hello-midi/hv_notein.pd @ 198:62f6269f4b3e
Added support for MidiIn to heavy (with example patch and subpatches).
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Fri, 05 Feb 2016 06:17:35 +0000 |
parents | |
children |
rev | line source |
---|---|
giuliomoro@198 | 1 #N canvas 730 58 629 685 10; |
giuliomoro@198 | 2 #X obj 84 -361 outlet; |
giuliomoro@198 | 3 #X obj 155 -367 outlet; |
giuliomoro@198 | 4 #X obj 131 -658 unpack f f f; |
giuliomoro@198 | 5 #X obj 211 -370 outlet; |
giuliomoro@198 | 6 #X obj 133 -477 spigot; |
giuliomoro@198 | 7 #X obj 258 -661 loadbang; |
giuliomoro@198 | 8 #X obj 224 -606 \$1; |
giuliomoro@198 | 9 #X obj 173 -585 == \$1; |
giuliomoro@198 | 10 #X obj 166 -500 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 |
giuliomoro@198 | 11 0 1; |
giuliomoro@198 | 12 #X obj 133 -450 unpack f f f; |
giuliomoro@198 | 13 #X obj 190 -552 ||; |
giuliomoro@198 | 14 #X obj 224 -582 == 0; |
giuliomoro@198 | 15 #X obj 258 -636 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 |
giuliomoro@198 | 16 -1 -1; |
giuliomoro@198 | 17 #X text 150 -777 Emulates notein \, except number of outlets is fixed. |
giuliomoro@198 | 18 ; |
giuliomoro@198 | 19 #X text 82 -343 notenumber; |
giuliomoro@198 | 20 #X text 151 -353 velocity; |
giuliomoro@198 | 21 #X text 210 -356 channel; |
giuliomoro@198 | 22 #X text 219 -531 If (inputChannel==\$1 || \$1==0); |
giuliomoro@198 | 23 #X msg 50 -758 123 46 3; |
giuliomoro@198 | 24 #X obj 105 -610 pack f f f; |
giuliomoro@198 | 25 #X msg 8 -739 123 46 2; |
giuliomoro@198 | 26 #X obj 72 -414 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 |
giuliomoro@198 | 27 -1 -1; |
giuliomoro@198 | 28 #X floatatom 74 -432 5 0 0 0 - - -; |
giuliomoro@198 | 29 #X obj 135 -394 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 |
giuliomoro@198 | 30 -1 -1; |
giuliomoro@198 | 31 #X floatatom 137 -412 5 0 0 0 - - -; |
giuliomoro@198 | 32 #X obj 188 -391 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 |
giuliomoro@198 | 33 -1 -1; |
giuliomoro@198 | 34 #X floatatom 190 -409 5 0 0 0 - - -; |
giuliomoro@198 | 35 #X obj 121 -730 s notein; |
giuliomoro@198 | 36 #X obj 130 -693 r notein; |
giuliomoro@198 | 37 #X obj 125 -758 r hv_notein; |
giuliomoro@198 | 38 #X connect 2 0 19 0; |
giuliomoro@198 | 39 #X connect 2 1 19 1; |
giuliomoro@198 | 40 #X connect 2 2 7 0; |
giuliomoro@198 | 41 #X connect 2 2 19 2; |
giuliomoro@198 | 42 #X connect 4 0 9 0; |
giuliomoro@198 | 43 #X connect 5 0 12 0; |
giuliomoro@198 | 44 #X connect 6 0 11 0; |
giuliomoro@198 | 45 #X connect 7 0 10 0; |
giuliomoro@198 | 46 #X connect 8 0 4 1; |
giuliomoro@198 | 47 #X connect 9 0 0 0; |
giuliomoro@198 | 48 #X connect 9 0 22 0; |
giuliomoro@198 | 49 #X connect 9 1 1 0; |
giuliomoro@198 | 50 #X connect 9 1 24 0; |
giuliomoro@198 | 51 #X connect 9 2 3 0; |
giuliomoro@198 | 52 #X connect 9 2 26 0; |
giuliomoro@198 | 53 #X connect 10 0 8 0; |
giuliomoro@198 | 54 #X connect 11 0 10 1; |
giuliomoro@198 | 55 #X connect 12 0 6 0; |
giuliomoro@198 | 56 #X connect 18 0 27 0; |
giuliomoro@198 | 57 #X connect 19 0 4 0; |
giuliomoro@198 | 58 #X connect 20 0 27 0; |
giuliomoro@198 | 59 #X connect 22 0 21 0; |
giuliomoro@198 | 60 #X connect 24 0 23 0; |
giuliomoro@198 | 61 #X connect 26 0 25 0; |
giuliomoro@198 | 62 #X connect 28 0 2 0; |
giuliomoro@198 | 63 #X connect 29 0 27 0; |