#N canvas 41 29 754 470 10;
#X msg 639 93 \; pd dsp 0;
#N canvas 0 0 450 300 (subpatch) 0;
#X array array99 155948 float 0;
#X coords 0 1 155948 -1 250 200 1;
#X restore 428 169 graph;
#X floatatom 11 354 0 0 0 0 - - -;
#X msg 11 98 set array99;
#X text 93 98 "set" message permits you to switch between arrays;
#X text 128 228 creation argument initializes array name;
#X text 5 392 see also the "array" tutorial in section 2 of the Pd
documentation \, and these objects:;
#X obj 6 438 tabwrite~;
#X obj 144 438 tabread;
#X obj 200 438 tabwrite;
#X obj 262 438 tabsend~;
#X obj 325 438 tabreceive~;
#X obj 41 13 tabplay~;
#X text 108 14 play a table as a sample (non-transposing);
#X obj 11 228 tabplay~ array99;
#X obj 452 82 soundfiler;
#X msg 452 48 read -resize ../sound/bell.aiff array99 \; pd dsp 1 \;
;
#X floatatom 452 104 0 0 0 0 - - -;
#X obj 11 328 env~ 16384;
#X obj 408 438 soundfiler;
#X obj 75 438 tabread4~;
#X obj 87 374 dac~ 1;
#X obj 87 335 *~;
#X obj 100 316 line~;
#X msg 100 275 0.1 100;
#X msg 116 296 0 100;
#X text 162 276 on;
#X text 157 295 off;
#X text 148 313 envelope;
#X text 148 324 generator;
#X text 101 260 amplitude controls:;
#X text 131 376 audio output;
#X obj 87 354 hip~ 5;
#X msg 31 162 0 44100;
#X msg 32 141 44100;
#X msg 31 121 bang;
#X text 29 43 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 509 25 click here to load table;
#X text 85 119 "bang" or 0 plays whole sample;
#X text 87 140 play starting at 44100th sample;
#X text 98 160 play starting at beginning for 44100 samples;
#X msg 30 182 44100 1000;
#X text 108 181 play from 44100 through 45099 (1000 samples);
#X text 502 443 updated for Pd version 0.43;
#X msg 30 204 stop;
#X text 69 203 stop playing (outputs zeros when stopped);
#X connect 3 0 14 0;
#X connect 14 0 18 0;
#X connect 14 0 22 0;
#X connect 15 0 17 0;
#X connect 16 0 15 0;
#X connect 18 0 2 0;
#X connect 22 0 32 0;
#X connect 23 0 22 1;
#X connect 24 0 23 0;
#X connect 25 0 23 0;
#X connect 32 0 21 0;
#X connect 33 0 14 0;
#X connect 34 0 14 0;
#X connect 35 0 14 0;
#X connect 41 0 14 0;
#X connect 44 0 14 0;
