#N canvas 277 40 901 596 12;
#X msg 728 167 \; pd dsp 0;
#N canvas 0 0 450 300 (subpatch) 0;
#X array array99 155944 float 0;
#X coords 0 1 155943 -1 250 200 1;
#X restore 551 250 graph;
#X floatatom 63 437 0 0 0 0 - - -;
#X msg 63 139 set array99;
#X text 148 139 "set" message permits you to switch between arrays
;
#X text 180 291 creation argument initializes array name;
#X text 70 488 see also the "array" tutorial in section 2 of the Pd
documentation \, and these objects:, f 43;
#X obj 54 538 tabwrite~;
#X obj 197 538 tabread;
#X obj 256 538 tabwrite;
#X obj 322 538 tabsend~;
#X obj 389 538 tabreceive~;
#X obj 43 26 tabplay~;
#X text 110 27 play a table as a sample (non-transposing);
#X obj 63 291 tabplay~ array99;
#X obj 541 141 soundfiler;
#X msg 541 102 read -resize ../sound/bell.aiff array99 \; pd dsp 1
\;;
#X floatatom 541 167 0 0 0 0 - - -;
#X obj 63 411 env~ 16384;
#X obj 477 538 soundfiler;
#X obj 125 538 tabread4~;
#X obj 155 395 *~;
#X obj 196 397 line~;
#X msg 196 345 0.1 100;
#X msg 212 370 0 100;
#X text 250 345 on;
#X text 251 369 off;
#X text 239 392 envelope;
#X text 239 403 generator;
#X text 291 356 amplitude controls:;
#X text 198 454 audio output;
#X obj 155 425 hip~ 5;
#X msg 90 214 0 44100;
#X msg 84 189 44100;
#X msg 77 165 bang;
#X text 62 67 The tabplay~ object plays a sample \, or part of one
\, with no transposition or interpolation. It is cheaper than tabread4~
and there are none of tabread4~'s interpolation artifacts.;
#X text 111 166 "bang" or 0 plays whole sample;
#X text 131 188 play starting at 44100th sample;
#X text 148 212 play starting at beginning for 44100 samples;
#X msg 95 239 44100 1000;
#X text 173 238 play from 44100 through 45099 (1000 samples);
#X text 648 519 updated for Pd version 0.43;
#X msg 102 264 stop;
#X text 138 265 stop playing (outputs zeros when stopped);
#X obj 172 318 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 190 317 <= bang when finished playing the table;
#X text 536 76 click here to load table and turn dsp on;
#X text 733 149 dsp off;
#X obj 155 454 dac~;
#X connect 3 0 14 0;
#X connect 14 0 18 0;
#X connect 14 0 21 0;
#X connect 14 1 44 0;
#X connect 15 0 17 0;
#X connect 16 0 15 0;
#X connect 18 0 2 0;
#X connect 21 0 31 0;
#X connect 22 0 21 1;
#X connect 23 0 22 0;
#X connect 24 0 22 0;
#X connect 31 0 48 0;
#X connect 31 0 48 1;
#X connect 32 0 14 0;
#X connect 33 0 14 0;
#X connect 34 0 14 0;
#X connect 39 0 14 0;
#X connect 42 0 14 0;
