From c37112a7f380d81e4ce6a1cb8446bea3994dfaf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 14 Mar 2007 09:08:56 +0000 Subject: updated the zexy help-system: all reference-patches (aka help-patches) are now to be found in the ./reference/ folder and are named -help.pd; removed a now superfluous class_sethelpsymbol from ./src/*.c; the ./examples/ folder is currently empty but will eventually be filled with zexy real-world examples svn path=/trunk/externals/zexy/; revision=7485 --- reference/tabminmax-help.pd | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 reference/tabminmax-help.pd (limited to 'reference/tabminmax-help.pd') diff --git a/reference/tabminmax-help.pd b/reference/tabminmax-help.pd new file mode 100644 index 0000000..f2514d0 --- /dev/null +++ b/reference/tabminmax-help.pd @@ -0,0 +1,35 @@ +#N canvas 293 375 861 353 10; +#N canvas 0 0 450 300 graph2 0; +#X array my_array66 5 float 0; +#X array my_array77 8 float 0; +#X coords 0 1 8 -1 200 140 1; +#X restore 653 87 graph; +#X obj 493 208 loadbang; +#X msg 83 100 bang; +#X msg 133 148 set my_array77; +#X msg 493 234 \; my_array66 resize 5 \; my_array77 resize 8 \; my_array66 +0.1 0.3 0.2 0.5 0.2 -0.1 \; my_array77 0.1 0.1 0.2 0.3 0.5 0.8 0.13 +0.21 0.34; +#X msg 132 126 set my_array66; +#X text 648 24 part of zexy; +#X obj 176 22 tabminmax; +#X text 256 24 get the minimum and the maximum of a table; +#X obj 83 168 tabminmax my_array66; +#X obj 83 192 unpack; +#X floatatom 83 217 0 0 0 0 minimum - -; +#X floatatom 120 218 2 0 0 3 idx - -; +#X obj 213 192 unpack; +#X floatatom 213 217 0 0 0 0 maximum - -; +#X floatatom 250 218 2 0 0 3 idx - -; +#X text 149 81 additionally this object gets the indices of the maxima. +; +#X connect 1 0 4 0; +#X connect 2 0 9 0; +#X connect 3 0 9 0; +#X connect 5 0 9 0; +#X connect 9 0 10 0; +#X connect 9 1 13 0; +#X connect 10 0 11 0; +#X connect 10 1 12 0; +#X connect 13 0 14 0; +#X connect 13 1 15 0; -- cgit v1.2.1