aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/tabplay~.pd
blob: 92cdb81e622276fd25ef94014c6a924e68df00f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#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;