#N canvas 231 67 770 791 12;
#X obj 284 616 *~;
#X obj 183 744 outlet~;
#X obj 110 536 makefilename sample%d;
#X msg 110 559 set \$1;
#X obj 110 582 tabread4~ sample1;
#X obj 367 559 dbtorms;
#X obj 367 536 unpack;
#X obj 367 582 sqrt;
#X obj 367 605 sqrt;
#X obj 367 628 line~;
#X obj 344 699 *~;
#X obj 367 651 *~;
#X obj 367 674 *~;
#X msg 122 184 bang;
#X obj 130 207 delay 5;
#X obj 437 275 f;
#X obj 399 276 f;
#X obj 322 276 f;
#X obj 283 276 f;
#X obj 252 276 f;
#X obj 159 263 f;
#X obj 159 286 mtof;
#X obj 159 309 / 261.62;
#X obj 159 332 * 4.41e+08;
#X obj 159 363 +;
#X obj 253 443 pack 0 0 0 0 0;
#X obj 130 230 t b b b;
#X obj 322 322 + 1;
#X obj 322 299 * 44.1;
#X msg 85 478 0 5;
#X msg 295 477 1 5;
#X msg 331 477 0 \, \$1 \$2;
#X msg 134 478 \$3 \, \$4 1e+07;
#X msg 259 477 \$5;
#X msg 411 477 0 \$1;
#X obj 230 119 inlet;
#X obj 183 693 inlet~;
#X obj 183 719 +~;
#X text 498 181 pitch in halftones;
#X text 499 158 amplitude (dB);
#X text 499 206 sample number;
#X text 499 230 start location (msec);
#X text 499 254 rise time (msec);
#X text 499 278 decay time (msec);
#X text 498 133 ARGUMENTS FOR NOTE ON:;
#X text 460 317 (Zero amplitude means note off \;;
#X text 481 338 other parameters are ignored.);
#X obj 230 144 route 0;
#X obj 288 175 unpack 0 0 0 0 0 0;
#X text 35 5 This is an abstraction used by the polyphonic sampler
\, version 2 \, which takes separate note-on and note-off messages.
Unlike "sampvoice" (the first version) \, there is no "duration" field
\, and the amplitude and pitch fields are reversed to make it easy
to separate note-on from note-off messages (which have amplitude zero.)
;
#X text 299 153 note-on;
#X text 155 153 note-off;
#X obj 50 536 vline~;
#X obj 307 536 vline~;
#X msg 230 166 bang;
#X connect 0 0 10 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 0 0;
#X connect 5 0 7 0;
#X connect 6 0 5 0;
#X connect 6 1 9 1;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 11 0;
#X connect 9 0 11 1;
#X connect 10 0 37 1;
#X connect 11 0 12 0;
#X connect 11 0 12 1;
#X connect 12 0 10 1;
#X connect 13 0 14 0;
#X connect 13 0 29 0;
#X connect 14 0 26 0;
#X connect 15 0 34 0;
#X connect 16 0 25 1;
#X connect 17 0 28 0;
#X connect 18 0 25 4;
#X connect 19 0 25 0;
#X connect 20 0 21 0;
#X connect 21 0 22 0;
#X connect 22 0 23 0;
#X connect 23 0 24 0;
#X connect 24 0 25 3;
#X connect 25 0 30 0;
#X connect 25 0 31 0;
#X connect 25 0 32 0;
#X connect 25 0 33 0;
#X connect 26 0 19 0;
#X connect 26 1 20 0;
#X connect 26 2 16 0;
#X connect 26 2 17 0;
#X connect 26 2 18 0;
#X connect 27 0 25 2;
#X connect 27 0 24 1;
#X connect 28 0 27 0;
#X connect 29 0 53 0;
#X connect 30 0 53 0;
#X connect 31 0 6 0;
#X connect 32 0 52 0;
#X connect 33 0 2 0;
#X connect 34 0 6 0;
#X connect 35 0 47 0;
#X connect 36 0 37 0;
#X connect 37 0 1 0;
#X connect 47 0 54 0;
#X connect 47 1 48 0;
#X connect 48 0 13 0;
#X connect 48 0 19 1;
#X connect 48 1 20 1;
#X connect 48 2 18 1;
#X connect 48 3 17 1;
#X connect 48 4 16 1;
#X connect 48 5 15 1;
#X connect 52 0 4 0;
#X connect 53 0 0 1;
#X connect 54 0 15 0;
