Mercurial > hg > beaglert
comparison projects/heavy/pd/hello-midi/hv_pgmin.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 623 197 587 546 10; | |
2 #X obj 108 68 outlet; | |
3 #X obj 209 66 outlet; | |
4 #X obj 141 -41 spigot; | |
5 #X obj 232 -219 loadbang; | |
6 #X obj 232 -170 \$1; | |
7 #X obj 181 -149 == \$1; | |
8 #X obj 174 -64 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 | |
9 1; | |
10 #X obj 198 -116 ||; | |
11 #X obj 232 -146 == 0; | |
12 #X obj 232 -194 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 | |
13 -1 -1; | |
14 #X obj 124 -234 unpack f f; | |
15 #X obj 141 -13 unpack f f; | |
16 #X text 87 91 program number; | |
17 #X text 217 87 channel; | |
18 #X text 228 -64 If (channel==\$1 || \$1==0); | |
19 #X text 202 -300 emulates pgmin except it always has 2 outlets and | |
20 requires the input parameters to be explicitely set. Set them to 0 | |
21 to avoid filtering; | |
22 #X text 297 -213 It'd be nicer with [t l l] but have to compensate | |
23 for the fact that it is not supported by heavy; | |
24 #X obj 112 -162 pack f f; | |
25 #X floatatom 107 10 5 0 0 0 - - -; | |
26 #X msg 80 -270 2 3; | |
27 #X msg 63 -292 2 1; | |
28 #X obj 98 34 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 | |
29 -1; | |
30 #X floatatom 185 16 5 0 0 0 - - -; | |
31 #X obj 176 40 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 | |
32 -1; | |
33 #X obj 124 -303 r hv_pgmin; | |
34 #X obj 126 -282 s pgmin; | |
35 #X obj 128 -258 r pgmin; | |
36 #X connect 2 0 11 0; | |
37 #X connect 3 0 9 0; | |
38 #X connect 4 0 8 0; | |
39 #X connect 5 0 7 0; | |
40 #X connect 6 0 2 1; | |
41 #X connect 7 0 6 0; | |
42 #X connect 8 0 7 1; | |
43 #X connect 9 0 4 0; | |
44 #X connect 10 0 17 0; | |
45 #X connect 10 1 5 0; | |
46 #X connect 10 1 17 1; | |
47 #X connect 11 0 0 0; | |
48 #X connect 11 0 18 0; | |
49 #X connect 11 1 1 0; | |
50 #X connect 11 1 22 0; | |
51 #X connect 17 0 2 0; | |
52 #X connect 18 0 21 0; | |
53 #X connect 19 0 25 0; | |
54 #X connect 20 0 25 0; | |
55 #X connect 22 0 23 0; | |
56 #X connect 24 0 25 0; | |
57 #X connect 26 0 10 0; |