1
#N canvas 28 13 707 471 10;
2
#X msg 639 93 \; pd dsp 0;
3
#X graph graph1 0 -1 155948 1 428 369 678 169;
4
#X array array99 155948 float 0;
6
#X floatatom 11 342 0 0 0;
7
#X msg 11 109 set array99;
8
#X text 93 109 "set" message permits you to switch between arrays;
9
#X text 128 228 creation argument initializes array name;
10
#X text 5 392 see also the "array" tutorial in section 2 of the Pd
11
documentation \, and these objects:;
12
#X obj 6 438 tabwrite~;
13
#X obj 140 439 tabread;
14
#X obj 194 439 tabwrite;
15
#X obj 254 439 tabsend~;
16
#X obj 315 439 tabreceive~;
17
#X obj 41 13 tabplay~;
18
#X text 108 14 play a table as a sample (non-transposing);
19
#X obj 11 228 tabplay~ array99;
20
#X obj 452 82 soundfiler;
21
#X msg 452 48 read -resize ../sound/bell.aiff array99 \; pd dsp 1 \;
23
#X floatatom 452 104 0 0 0;
24
#X obj 11 316 env~ 16384;
25
#X obj 396 439 soundfiler;
26
#X obj 73 439 tabread4~;
30
#X msg 100 263 0.1 100;
34
#X text 148 301 envelope;
35
#X text 148 312 generator;
36
#X text 101 248 amplitude controls:;
37
#X text 131 362 audio output;
39
#X msg 26 179 0 44100;
42
#X text 475 449 updated for Pd version 0.29;
43
#X text 29 43 The tabplay~ object plays a sample \, or part of one
44
\, with no transposition or interpolation. It is cheaper than tabread4~
45
and there are none of tabread4~'s interpolation artifacts.;
46
#X text 509 25 click here to load table;
47
#X text 80 136 "bang" or 0 plays whole sample;
48
#X text 82 157 play starting at 44100th sample;
49
#X text 93 177 play starting at beginning for 44100 samples;
50
#X msg 25 199 44100 1000;
51
#X text 103 198 play from 44100 through 45099 (1000 samples);