aboutsummaryrefslogtreecommitdiff
path: root/examples/tab16play~.pd
blob: 8c531998306272120ccc71ce7bf455b5b2a1db98 (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
#N canvas 159 54 804 495 10;
#X msg 639 93 \; pd dsp 0;
#X floatatom 11 342 0 0 0 0 - - -;
#X msg 11 109 set array99;
#X text 93 109 "set" message permits you to switch between arrays;
#X text 138 228 creation argument initializes array name;
#X obj 11 316 env~ 16384;
#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 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 obj 11 228 tab16play~ array99;
#X obj 589 205 table16 array99;
#X text 389 444 updated for iem16 version1.0;
#X obj 5 439 tab16write~;
#X obj 5 458 tab16read4~;
#X obj 89 458 tab16read;
#X obj 89 439 tab16write;
#X obj 166 439 tab16send~;
#X obj 166 458 tab16receive~;
#X obj 32 13 tab16play~;
#X text 29 43 The [tab16play~] object is the same as the [tabplay~]
object \, but it refers to 16bit-arrays stored in [table16] instead
of floating-point arrays (stored in normal pd-tables/arrays);
#X obj 328 444 table16;
#X text 11 417 see also:;
#X text 108 14 play a 16bit-table as a sample (non-transposing);
#X connect 2 0 26 0;
#X connect 5 0 1 0;
#X connect 7 0 17 0;
#X connect 8 0 7 1;
#X connect 9 0 8 0;
#X connect 10 0 8 0;
#X connect 17 0 6 0;
#X connect 18 0 26 0;
#X connect 19 0 26 0;
#X connect 20 0 26 0;
#X connect 24 0 26 0;
#X connect 26 0 5 0;
#X connect 26 0 7 0;