1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
|
#N canvas 0 26 645 549 12;
#X obj 125 230 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X floatatom 125 298 6 0 0 0 - - -;
#X floatatom 50 451 5 0 0 0 - - -;
#X floatatom 26 502 5 0 0 0 - - -;
#X floatatom 63 425 5 0 0 0 - - -;
#X floatatom 38 476 5 0 0 0 - - -;
#X floatatom 100 349 6 0 0 0 - - -;
#X floatatom 75 399 5 0 0 0 - - -;
#X floatatom 112 323 5 0 0 0 - - -;
#X floatatom 87 374 5 0 0 0 - - -;
#X obj 26 269 borax 0 0 0 0;
#X text 103 452 number of voices currently playing;
#X text 120 422 pitch;
#X text 127 399 velocity;
#X obj 15 54 makenote 100 1500;
#X obj 336 67 metro 100;
#X obj 428 124 + 50;
#X obj 428 147 s time;
#X obj 403 43 r time;
#X obj 260 147 s pitch;
#X obj 15 17 r pitch;
#X obj 80 18 r velo;
#X msg 336 14 1;
#X msg 345 37 0;
#X obj 513 101 random 64;
#X obj 513 124 + 64;
#X obj 513 147 s velo;
#X obj 146 19 r duration;
#X obj 336 147 s duration;
#X obj 336 124 + 250;
#X text 91 477 voice allocation number - each note playing is assigned
a no;
#X obj 45 88 noteout 1;
#X obj 428 101 random 500;
#X obj 260 101 random 88;
#X obj 260 124 + 21;
#X text 120 200 borax :: analyse incoming midi notes;
#X text 363 13 <-- click to play random music;
#X obj 40 125 notein 1;
#X text 186 300 delta time value - time between note-ons;
#X text 160 350 duration value - time between note-on and note-off
;
#X text 79 502 note-on count;
#X text 141 374 duration count;
#X text 164 326 delta time count;
#X obj 336 101 random 1000;
#X text 153 228 <-- reset :: sets counters and clocks to zero and sends
;
#X text 258 243 note-off for all notes currently playing;
#X text 137 273 <--- zeroes only added to make the object larger;
#N canvas 326 26 507 368 META 0;
#X text 12 326 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 306 AUTHOR Olaf Matthes <olaf.matthes@gmx.de>;
#X text 12 5 KEYWORDS control MIDI max_compatible;
#X text 12 45 DESCRIPTION analyse incoming midi notes;
#X text 12 65 INLET_0 float;
#X text 12 85 INLET_1 float;
#X text 12 105 INLET_2 bang;
#X text 12 125 OUTLET_0 float;
#X text 12 145 OUTLET_1 float;
#X text 12 165 OUTLET_2 float;
#X text 12 185 OUTLET_3 float;
#X text 12 205 OUTLET_4 float;
#X text 12 225 OUTLET_5 float;
#X text 12 245 OUTLET_6 float;
#X text 12 265 OUTLET_7 float;
#X text 12 285 OUTLET_8 float;
#X restore 583 517 pd META;
#X connect 0 0 10 2;
#X connect 10 0 3 0;
#X connect 10 1 5 0;
#X connect 10 2 2 0;
#X connect 10 3 4 0;
#X connect 10 4 7 0;
#X connect 10 5 9 0;
#X connect 10 6 6 0;
#X connect 10 7 8 0;
#X connect 10 8 1 0;
#X connect 14 0 10 0;
#X connect 14 0 31 0;
#X connect 14 1 10 1;
#X connect 14 1 31 1;
#X connect 15 0 24 0;
#X connect 15 0 32 0;
#X connect 15 0 33 0;
#X connect 15 0 43 0;
#X connect 16 0 17 0;
#X connect 18 0 15 1;
#X connect 20 0 14 0;
#X connect 21 0 14 1;
#X connect 22 0 15 0;
#X connect 23 0 15 0;
#X connect 24 0 25 0;
#X connect 25 0 26 0;
#X connect 27 0 14 2;
#X connect 29 0 28 0;
#X connect 32 0 16 0;
#X connect 33 0 34 0;
#X connect 34 0 19 0;
#X connect 37 0 10 0;
#X connect 37 1 10 1;
#X connect 43 0 29 0;
|