#N canvas 47 59 781 743 10;
#X text 194 422 set the size of an array. If you only have one array in a graph \, the graph will reset its coordinates to hold the resized array.;
#X msg 33 386 \; array1 const 0.5;
#X msg 33 343 \; array1 const 0;
#X obj 34 297 tabwrite~ array1;
#X msg 32 430 \; array1 resize 200;
#X msg 34 493 \; array1 print;
#N canvas 451 88 781 829 arrays 1;
#X graph graph1 0 -1 100 1 253 686 653 386;
#X array array2 100 float;
#X pop;
#X graph graph1 0 -1 200 1 254 345 654 45;
#X array array1 200 float;
#X array array4 100 float;
#X pop;
#X restore 36 571 page arrays;
#X msg 33 89 \; array2 read foo.tab;
#X obj 49 265 tabread4~ array2;
#X obj 49 237 line~;
#X msg 48 208 5 \, 105 50;
#X msg 34 133 bang \; pd dsp 1;
#X text 148 552 habitually \, we put the actual arrays in a sub-patch. If you close (not just minimize) the sub-patch the arrays won't be redrawn so you can get away with sampling in real time.;
#X text 55 17 Arrays can be used for control(like Opcode Max tables) or DSP as the wavetable/sampling unit. Most of the useful features are aimed at the DSP use. This patch has two arrays in a sub-patch.;
#X text 215 83 This reads teh file "foo.tab" into the bottom array. You can look at foo.tab which is just floating-point numbers in ASCII.;
#X text 114 135 click here to resample array2 into array1 \, demonstrating the effect of 4-point interpolation.;
#X text 173 351 the "const" message as in Opcode Max...;
#X text 152 504 print out the size (on the standard error.);
#X text 196 465 New arrays (created using the menu) are put into the most recently created graph.;
#X connect 8 0 3 0;
#X connect 9 0 8 0;
#X connect 10 0 9 0;
#X connect 11 0 3 0;
#X connect 11 0 10 0;
