#N canvas 467 24 559 678 10;
#X obj 2 383 cnv 3 552 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 448 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 627 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 97 427 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 97 473 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 97 408 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 97 492 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 97 454 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 97 511 cnv 17 3 17 empty empty 3 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 97 530 cnv 17 3 17 empty empty 4 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 97 549 cnv 17 3 17 empty empty 5 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 97 568 cnv 17 3 17 empty empty 6 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 97 587 cnv 17 3 17 empty empty 7 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 97 606 cnv 17 3 17 empty empty 8 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 97 389 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 2 654 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X text 162 390 -;
#X text 122 390 float;
#X text 162 409 -;
#X text 122 409 float;
#X text 162 428 -;
#X text 128 428 bang;
#X text 162 456 -;
#X text 122 456 float;
#X text 162 474 -;
#X text 122 474 float;
#X text 162 493 -;
#X text 122 493 float;
#X text 162 513 -;
#X text 122 513 float;
#X text 162 531 -;
#X text 122 531 float;
#X text 162 551 -;
#X text 122 551 float;
#X text 162 571 -;
#X text 122 571 float;
#X text 162 589 -;
#X text 122 589 float;
#X text 162 608 -;
#X text 122 608 float;
#X text 178 390 midi note number, f 47;
#X text 117 633 (none);
#X text 177 409 note velocity, f 47;
#X msg 298 158 bang;
#N canvas 111 227 240 305 random_notes 0;
#X obj 58 207 makenote;
#X obj 103 233 outlet;
#X obj 43 233 outlet;
#X obj 58 42 inlet;
#X obj 58 81 metro;
#X obj 58 122 expr random(40 \, 70) \; random(50 \, 127) \; random (500 \, 2000) \; random (100 \, 1000);
#X obj 139 44 inlet;
#X connect 0 0 2 0;
#X connect 0 1 1 0;
#X connect 3 0 4 0;
#X connect 4 0 5 0;
#X connect 5 0 0 0;
#X connect 5 1 0 1;
#X connect 5 2 0 2;
#X connect 5 3 4 1;
#X connect 6 0 5 0;
#X restore 121 147 pd random_notes;
#X obj 121 123 tgl 15 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000 0 1;
#X obj 228 152 notein;
#X obj 208 124 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X text 141 123 <= metro;
#X text 177 428 resets by sending note-offs and erasing events' memory;
#X text 335 157 resets [borax];
#X text 177 513 pitch of note from report, f 50;
#X text 177 531 velocity of note from report (0 means Note-Off);
#X text 177 456 note event number from report, f 50;
#X text 177 493 number of voices (notes currently On), f 51;
#X text 177 474 voice number from report (when more notes are reported);
#X text 177 551 event number from note duration report (see 6);
#X text 177 589 event number from delta-time report (see 8), f 51;
#X text 177 608 delta-time (time difference in ms) between Note-Ons;
#X text 177 571 note duration (in ms) report, f 51;
#X obj 121 186 cyclone/borax, f 30;
#X obj 203 356 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 218 337 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 229 318 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 239 299 nbx 3 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 250 280 nbx 3 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 265 258 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 276 242 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 290 223 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 298 207 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 55 93 [borax] sends detailed MIDI Note information.;
#N canvas 645 142 632 281 examples 0;
#X obj 80 89 notein 1;
#X obj 102 159 pack 0 0 0, f 11;
#X obj 102 206 route 1 2 3 4;
#X obj 80 124 cyclone/borax, f 30;
#X obj 371 96 notein 1;
#X obj 359 167 pack 0 0 0, f 11;
#X obj 359 214 route 1 2 3 4;
#X obj 371 131 poly, f 7;
#X text 437 167 voice # \, pitch \, velocity;
#X text 174 160 voice # \, pitch \, velocity;
#X text 93 32 using [borax] to route voices in the same way as [poly].;
#X connect 0 0 3 0;
#X connect 0 1 3 1;
#X connect 1 0 2 0;
#X connect 3 1 1 0;
#X connect 3 3 1 1;
#X connect 3 4 1 2;
#X connect 4 0 7 0;
#X connect 4 1 7 1;
#X connect 5 0 6 0;
#X connect 7 0 5 0;
#X connect 7 1 5 1;
#X connect 7 2 5 2;
#X restore 470 352 pd examples;
#X obj 2 1 header borax;
#X text 21 58 Reports note on/off info;
#X text 357 206 Note-On Delta-time;
#X text 322 223 Event of delta-time report;
#X text 334 240 Note duration;
#X text 297 258 Event of duration report;
#X text 289 279 Velocity;
#X text 279 299 Pitch;
#X text 260 318 Number of voices;
#X text 254 337 Voice number;
#X text 236 355 Note event;
#X connect 43 0 60 2;
#X connect 44 0 60 0;
#X connect 44 1 60 1;
#X connect 45 0 44 0;
#X connect 46 0 60 0;
#X connect 46 1 60 1;
#X connect 47 0 44 1;
#X connect 60 0 61 0;
#X connect 60 1 62 0;
#X connect 60 2 63 0;
#X connect 60 3 64 0;
#X connect 60 4 65 0;
#X connect 60 5 66 0;
#X connect 60 6 67 0;
#X connect 60 7 68 0;
#X connect 60 8 69 0;
