#N canvas 630 107 723 557 12;
#X text 104 203 index;
#X obj 85 19 tabread;
#X floatatom 67 204 0 0 0 0 - - - 0;
#X floatatom 67 310 0 0 0 0 - - - 0;
#X text 216 268 creation argument;
#X text 218 284 gives array name;
#X text 192 236 change array name;
#X text 158 19 - read numbers from a table;
#X text 479 516 updated for Pd version 0.43;
#X obj 42 515 tabwrite~;
#X obj 246 515 tabwrite;
#X obj 311 515 tabsend~;
#X obj 376 515 tabreceive~;
#X obj 113 515 tabplay~;
#X obj 181 515 tabread;
#X text 45 58 The tabread4 object reads values from an array ("table")
according to an index \, applying four-point polynomial interpolation.
Indices should range from 1 to (size-2) so that the 4-point interpolation
is meaningful. You can shift-drag the number box to see the effect
of interpolation. Indices outside of the range are replaced by the
nearest index in range (from 1 to 8 in this example)., f 80;
#X obj 419 435 ../2.control.examples/15.array;
#X obj 419 458 ../2.control.examples/16.more.arrays;
#X text 40 439 Check also the "array" examples from the Pd tutorial
by clicking and opening the files to the right ====>, f 52;
#X text 41 488 See also these objects:;
#X msg 77 236 set tabread4-ex;
#X obj 67 276 tabread4 tabread4-ex;
#X text 105 311 output = tabread4-ex[index];
#N canvas 0 0 450 300 (subpatch) 0;
#X array tabread4-ex 10 float 3;
#A 0 1 4 2 8 5 6 1 4 2 8;
#X coords 0 10 10 0 250 200 1 0 0;
#X restore 395 183 graph;
#N canvas 515 381 401 220 init-table 0;
#X obj 35 42 loadbang;
#X msg 35 74 \; tabread4-ex resize 10 \; tabread4-ex bounds 0 10 10
0 \; tabread4-ex xlabel -0.2 0 1 2 3 4 5 6 7 8 9 \; tabread4-ex ylabel
-0.3 0 1 2 3 4 5 6 7 8 9 10 \; tabread4-ex 0 1 4 2 8 5 6 1 4 2 8;
#X connect 0 0 1 0;
#X restore 548 159 pd init-table;
#X connect 2 0 21 0;
#X connect 20 0 21 0;
#X connect 21 0 3 0;
