comparison 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
comparison
equal deleted inserted replaced
197:265a527f8be8 198:62f6269f4b3e
1 #N canvas 730 58 629 685 10;
2 #X obj 84 -361 outlet;
3 #X obj 155 -367 outlet;
4 #X obj 131 -658 unpack f f f;
5 #X obj 211 -370 outlet;
6 #X obj 133 -477 spigot;
7 #X obj 258 -661 loadbang;
8 #X obj 224 -606 \$1;
9 #X obj 173 -585 == \$1;
10 #X obj 166 -500 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1
11 0 1;
12 #X obj 133 -450 unpack f f f;
13 #X obj 190 -552 ||;
14 #X obj 224 -582 == 0;
15 #X obj 258 -636 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
16 -1 -1;
17 #X text 150 -777 Emulates notein \, except number of outlets is fixed.
18 ;
19 #X text 82 -343 notenumber;
20 #X text 151 -353 velocity;
21 #X text 210 -356 channel;
22 #X text 219 -531 If (inputChannel==\$1 || \$1==0);
23 #X msg 50 -758 123 46 3;
24 #X obj 105 -610 pack f f f;
25 #X msg 8 -739 123 46 2;
26 #X obj 72 -414 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
27 -1 -1;
28 #X floatatom 74 -432 5 0 0 0 - - -;
29 #X obj 135 -394 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
30 -1 -1;
31 #X floatatom 137 -412 5 0 0 0 - - -;
32 #X obj 188 -391 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
33 -1 -1;
34 #X floatatom 190 -409 5 0 0 0 - - -;
35 #X obj 121 -730 s notein;
36 #X obj 130 -693 r notein;
37 #X obj 125 -758 r hv_notein;
38 #X connect 2 0 19 0;
39 #X connect 2 1 19 1;
40 #X connect 2 2 7 0;
41 #X connect 2 2 19 2;
42 #X connect 4 0 9 0;
43 #X connect 5 0 12 0;
44 #X connect 6 0 11 0;
45 #X connect 7 0 10 0;
46 #X connect 8 0 4 1;
47 #X connect 9 0 0 0;
48 #X connect 9 0 22 0;
49 #X connect 9 1 1 0;
50 #X connect 9 1 24 0;
51 #X connect 9 2 3 0;
52 #X connect 9 2 26 0;
53 #X connect 10 0 8 0;
54 #X connect 11 0 10 1;
55 #X connect 12 0 6 0;
56 #X connect 18 0 27 0;
57 #X connect 19 0 4 0;
58 #X connect 20 0 27 0;
59 #X connect 22 0 21 0;
60 #X connect 24 0 23 0;
61 #X connect 26 0 25 0;
62 #X connect 28 0 2 0;
63 #X connect 29 0 27 0;