Mercurial > hg > beaglert
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/projects/heavy/pd/hello-midi/bela_notein.pd Sat May 21 15:28:03 2016 +0100 @@ -0,0 +1,59 @@ +#N canvas 399 23 629 685 10; +#X obj 94 481 outlet; +#X obj 165 475 outlet; +#X obj 141 184 unpack f f f; +#X obj 221 472 outlet; +#X obj 143 365 spigot; +#X obj 268 181 loadbang; +#X obj 234 236 \$1; +#X obj 183 257 == \$1; +#X obj 176 342 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X obj 143 392 unpack f f f; +#X obj 200 290 ||; +#X obj 234 260 == 0; +#X obj 268 206 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X text 160 65 Emulates notein \, except number of outlets is fixed. +; +#X text 92 499 notenumber; +#X text 161 489 velocity; +#X text 220 486 channel; +#X text 229 311 If (inputChannel==\$1 || \$1==0); +#X obj 115 232 pack f f f; +#X obj 82 428 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X floatatom 84 410 5 0 0 0 - - -, f 5; +#X obj 145 448 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X floatatom 147 430 5 0 0 0 - - -, f 5; +#X obj 198 451 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X floatatom 200 433 5 0 0 0 - - -, f 5; +#X obj 131 112 s notein; +#X obj 140 149 r notein; +#X obj 135 84 r bela_notein; +#X connect 2 0 18 0; +#X connect 2 1 18 1; +#X connect 2 2 7 0; +#X connect 2 2 18 2; +#X connect 4 0 9 0; +#X connect 5 0 12 0; +#X connect 6 0 11 0; +#X connect 7 0 10 0; +#X connect 8 0 4 1; +#X connect 9 0 0 0; +#X connect 9 0 20 0; +#X connect 9 1 1 0; +#X connect 9 1 22 0; +#X connect 9 2 3 0; +#X connect 9 2 24 0; +#X connect 10 0 8 0; +#X connect 11 0 10 1; +#X connect 12 0 6 0; +#X connect 18 0 4 0; +#X connect 20 0 19 0; +#X connect 22 0 21 0; +#X connect 24 0 23 0; +#X connect 26 0 2 0; +#X connect 27 0 25 0;