aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/tabread~-help.pd
blob: e27523e60036610d73901090fb831d84cc140c11 (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
#N canvas 320 156 845 474 12;
#N canvas 0 0 450 300 (subpatch) 0;
#X array array99 10 float 3;
#A 0 -0.5 0.5 -0.4 0.4 -0.3 0.3 -0.2 0.2 -0.1 0.1;
#X coords 0 1 10 -1 250 200 1;
#X restore 562 167 graph;
#X obj 16 362 snapshot~;
#X obj 35 336 metro 200;
#X obj 16 149 sig~;
#X floatatom 16 123 6 0 10 0 - - -;
#X obj 35 310 r readout;
#X floatatom 16 388 0 0 0 0 - - -;
#X msg 28 186 set array99;
#X text 118 185 "set" message permits you to switch between arrays
;
#X text 144 274 creation argument initializes array name;
#X text 11 403 see also the "array" tutorial in section 2 of the Pd
documentation \, and these objects:;
#X text 563 16 click here to test;
#X obj 91 445 tabwrite~;
#X obj 236 445 tabread;
#X obj 359 446 tabwrite;
#X obj 424 446 tabsend~;
#X obj 489 446 tabreceive~;
#X obj 162 445 tabplay~;
#X msg 582 40 \; readout 1 \; pd dsp 1 \;;
#X text 24 230 signal input;
#X obj 47 21 tabread~;
#X text 127 21 non-interpolating table lookup;
#X text 7 58 Tabread~ looks up values out of the named array. Incoming
values are truncated to the next lower integer \, and values out of
bounds get the nearest (first or last) point.;
#X text 64 117 incoming signal is index. Indices should range from
0 to (size-1).;
#X obj 16 274 tabread~ array99;
#X obj 16 446 tabread4~;
#X obj 294 445 tabread4;
#X text 625 451 updated for Pd version 0.43;
#X connect 1 0 6 0;
#X connect 2 0 1 0;
#X connect 3 0 24 0;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 7 0 24 0;
#X connect 24 0 1 0;