#N canvas 392 23 706 812 12;
#X obj 251 612 *~;
#X obj 230 769 outlet~;
#X obj 94 529 makefilename sample%d;
#X msg 94 552 set \$1;
#X obj 94 578 tabread4~ sample1;
#X obj 329 555 dbtorms;
#X obj 329 578 sqrt;
#X obj 329 601 sqrt;
#X obj 329 624 line~;
#X obj 311 695 *~;
#X obj 329 647 *~;
#X obj 329 670 *~;
#X msg 92 179 bang;
#X obj 104 206 delay 5;
#X obj 405 275 f;
#X obj 370 275 f;
#X obj 296 275 f;
#X obj 257 275 f;
#X obj 226 275 f;
#X obj 127 265 f;
#X obj 127 288 mtof;
#X obj 127 311 / 261.62;
#X obj 127 334 * 4.41e+08;
#X obj 127 365 +;
#X obj 104 229 t b b b;
#X obj 296 321 + 1;
#X obj 296 298 * 44.1;
#X msg 92 477 0 5;
#X msg 269 477 1 5;
#X msg 329 477 0 \, \$1 \$2;
#X msg 128 477 \$3 \, \$4 1e+07;
#X msg 227 477 \$5;
#X msg 405 477 0 \$1;
#X obj 254 116 inlet;
#X obj 230 698 inlet~;
#X obj 230 734 +~;
#X text 474 232 pitch in halftones;
#X text 475 209 amplitude (dB);
#X text 475 257 sample number;
#X text 475 281 start location (msec);
#X text 475 305 rise time (msec);
#X text 475 329 decay time (msec);
#X text 474 184 ARGUMENTS FOR NOTE ON:;
#X text 436 368 (Zero amplitude means note off \;;
#X text 457 389 other parameters are ignored.);
#X obj 254 141 route 0;
#X text 37 15 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.)
, f 71;
#X text 323 152 note-on;
#X text 187 152 note-off;
#X obj 34 532 vline~;
#X obj 269 529 vline~;
#X msg 254 165 bang;
#X obj 300 174 unpack f f f f f f;
#X obj 227 442 pack f f f f f;
#X obj 329 529 unpack f f;
#X connect 0 0 9 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 0 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 8 0 10 0;
#X connect 8 0 10 1;
#X connect 9 0 35 1;
#X connect 10 0 11 0;
#X connect 10 0 11 1;
#X connect 11 0 9 1;
#X connect 12 0 13 0;
#X connect 12 0 27 0;
#X connect 13 0 24 0;
#X connect 14 0 32 0;
#X connect 15 0 53 1;
#X connect 16 0 26 0;
#X connect 17 0 53 4;
#X connect 18 0 53 0;
#X connect 19 0 20 0;
#X connect 20 0 21 0;
#X connect 21 0 22 0;
#X connect 22 0 23 0;
#X connect 23 0 53 3;
#X connect 24 0 18 0;
#X connect 24 1 19 0;
#X connect 24 2 15 0;
#X connect 24 2 16 0;
#X connect 24 2 17 0;
#X connect 25 0 23 1;
#X connect 25 0 53 2;
#X connect 26 0 25 0;
#X connect 27 0 50 0;
#X connect 28 0 50 0;
#X connect 29 0 54 0;
#X connect 30 0 49 0;
#X connect 31 0 2 0;
#X connect 32 0 54 0;
#X connect 33 0 45 0;
#X connect 34 0 35 0;
#X connect 35 0 1 0;
#X connect 45 0 51 0;
#X connect 45 1 52 0;
#X connect 49 0 4 0;
#X connect 50 0 0 1;
#X connect 51 0 14 0;
#X connect 52 0 12 0;
#X connect 52 0 18 1;
#X connect 52 1 19 1;
#X connect 52 2 17 1;
#X connect 52 3 16 1;
#X connect 52 4 15 1;
#X connect 52 5 14 1;
#X connect 53 0 28 0;
#X connect 53 0 29 0;
#X connect 53 0 30 0;
#X connect 53 0 31 0;
#X connect 54 0 5 0;
#X connect 54 1 8 1;
