From d2eec74a4d8c21aad495ba61539486b24d7ab8dc Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Wed, 9 Oct 2002 10:19:04 +0000 Subject: moved from zexy/zexy to zexy svn path=/trunk/externals/zexy/; revision=169 --- examples/tabread4.pd | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 examples/tabread4.pd (limited to 'examples/tabread4.pd') diff --git a/examples/tabread4.pd b/examples/tabread4.pd new file mode 100644 index 0000000..8fff4e5 --- /dev/null +++ b/examples/tabread4.pd @@ -0,0 +1,29 @@ +#N canvas 0 0 884 549 8; +#X obj 85 45 tabread4; +#X text 87 96 "tabread4" is missing in the pd-distribution \, and i really don't know why \, because sometimes one might need it...; +#X text 89 132 so here it is; +#X msg 495 140 \; readout 1 \; array99 resize 10 \; array99 bounds 0 0 10 10 \; array99 xlabel -0.5 0 1 2 3 4 5 6 7 8 9 10 \; array99 ylabel -1 0 1 2 3 4 5 6 7 8 9 10 \; array99 0 1 4 2 8 5 6 1 4 2 8; +#X floatatom 204 185; +#X floatatom 204 351; +#X text 242 369 output = array99[index]; +#X text 323 303 creation argument; +#X text 323 318 gives array name; +#X msg 214 277 set array99; +#X text 303 278 change array name; +#X obj 204 317 tabread4 array99; +#X graph graph1 0 0 10 10 504 467 754 267; +#X array array99 10 float; +#X pop; +#X obj 94 317 tabread array99; +#X floatatom 94 356; +#X text -7 335 this is how it was; +#X msg 214 255 help; +#X text 235 184 index (try non-integer :: 1.5); +#X obj 495 119 loadbang; +#X connect 4 0 11 0; +#X connect 4 0 13 0; +#X connect 9 0 11 0; +#X connect 11 0 5 0; +#X connect 13 0 14 0; +#X connect 16 0 11 0; +#X connect 18 0 3 0; -- cgit v1.2.1