annotate projects/heavy/pd/hello-midi/bela_pgmin.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 623 197 587 546 10;
giuliomoro@291 2 #X obj 73 413 outlet;
giuliomoro@291 3 #X obj 174 411 outlet;
giuliomoro@291 4 #X obj 106 304 spigot;
giuliomoro@291 5 #X obj 197 126 loadbang;
giuliomoro@291 6 #X obj 197 175 \$1;
giuliomoro@291 7 #X obj 146 196 == \$1;
giuliomoro@291 8 #X obj 139 281 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
giuliomoro@291 9 1;
giuliomoro@291 10 #X obj 163 229 ||;
giuliomoro@291 11 #X obj 197 199 == 0;
giuliomoro@291 12 #X obj 197 151 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
giuliomoro@291 13 -1 -1;
giuliomoro@291 14 #X obj 89 111 unpack f f;
giuliomoro@291 15 #X obj 106 332 unpack f f;
giuliomoro@291 16 #X text 52 436 program number;
giuliomoro@291 17 #X text 182 432 channel;
giuliomoro@291 18 #X text 193 281 If (channel==\$1 || \$1==0);
giuliomoro@291 19 #X text 167 45 emulates pgmin except it always has 2 outlets and requires
giuliomoro@291 20 the input parameters to be explicitely set. Set them to 0 to avoid
giuliomoro@291 21 filtering;
giuliomoro@291 22 #X text 262 132 It'd be nicer with [t l l] but have to compensate for
giuliomoro@291 23 the fact that it is not supported by heavy;
giuliomoro@291 24 #X obj 77 183 pack f f;
giuliomoro@291 25 #X floatatom 72 355 5 0 0 0 - - -, f 5;
giuliomoro@291 26 #X obj 63 379 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
giuliomoro@291 27 -1;
giuliomoro@291 28 #X floatatom 150 361 5 0 0 0 - - -, f 5;
giuliomoro@291 29 #X obj 141 385 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
giuliomoro@291 30 -1 -1;
giuliomoro@291 31 #X obj 91 63 s pgmin;
giuliomoro@291 32 #X obj 93 87 r pgmin;
giuliomoro@291 33 #X obj 89 42 r bela_pgmin;
giuliomoro@291 34 #X connect 2 0 11 0;
giuliomoro@291 35 #X connect 3 0 9 0;
giuliomoro@291 36 #X connect 4 0 8 0;
giuliomoro@291 37 #X connect 5 0 7 0;
giuliomoro@291 38 #X connect 6 0 2 1;
giuliomoro@291 39 #X connect 7 0 6 0;
giuliomoro@291 40 #X connect 8 0 7 1;
giuliomoro@291 41 #X connect 9 0 4 0;
giuliomoro@291 42 #X connect 10 0 17 0;
giuliomoro@291 43 #X connect 10 1 5 0;
giuliomoro@291 44 #X connect 10 1 17 1;
giuliomoro@291 45 #X connect 11 0 0 0;
giuliomoro@291 46 #X connect 11 0 18 0;
giuliomoro@291 47 #X connect 11 1 1 0;
giuliomoro@291 48 #X connect 11 1 20 0;
giuliomoro@291 49 #X connect 17 0 2 0;
giuliomoro@291 50 #X connect 18 0 19 0;
giuliomoro@291 51 #X connect 20 0 21 0;
giuliomoro@291 52 #X connect 23 0 10 0;
giuliomoro@291 53 #X connect 24 0 22 0;