#N canvas 28 13 707 471 10; #X msg 639 93 \; pd dsp 0; #X graph graph1 0 -1 155948 1 428 369 678 169; #X array array99 155948 float 0; #X pop; #X floatatom 11 342 0 0 0; #X msg 11 109 set array99; #X text 93 109 "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 140 439 tabread; #X obj 194 439 tabwrite; #X obj 254 439 tabsend~; #X obj 315 439 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; #X obj 11 316 env~ 16384; #X obj 396 439 soundfiler; #X obj 73 439 tabread4~; #X obj 87 360 dac~ 1; #X obj 87 323 *~; #X obj 100 304 line~; #X msg 100 263 0.1 100; #X msg 116 284 0 100; #X text 162 264 on; #X text 157 283 off; #X text 148 301 envelope; #X text 148 312 generator; #X text 101 248 amplitude controls:; #X text 131 362 audio output; #X obj 87 342 hip~ 5; #X msg 26 179 0 44100; #X msg 27 158 44100; #X msg 26 138 bang; #X text 475 449 updated for Pd version 0.29; #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 80 136 "bang" or 0 plays whole sample; #X text 82 157 play starting at 44100th sample; #X text 93 177 play starting at beginning for 44100 samples; #X msg 25 199 44100 1000; #X text 103 198 play from 44100 through 45099 (1000 samples); #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 42 0 14 0;