aboutsummaryrefslogtreecommitdiff
path: root/abs
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-10-03 14:03:17 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-10-03 14:03:17 +0000
commit2da49b0823076d87875582888ebbfdf5ed4a56ea (patch)
treebd94e3ddcec7a6a56bf87c456b2d5fee16db9514 /abs
parent2a161d369455245d9f61fdb9f09e876eb014ebc2 (diff)
abstraction implementation of [minmax]
svn path=/trunk/externals/zexy/; revision=6068
Diffstat (limited to 'abs')
-rw-r--r--abs/minmax-help.pd13
-rw-r--r--abs/minmax.pd43
2 files changed, 56 insertions, 0 deletions
diff --git a/abs/minmax-help.pd b/abs/minmax-help.pd
new file mode 100644
index 0000000..676a5ba
--- /dev/null
+++ b/abs/minmax-help.pd
@@ -0,0 +1,13 @@
+#N canvas 369 451 561 303 10;
+#X obj 73 61 minmax;
+#X text 127 60 get minimum and maximum of a (list of floats);
+#X obj 45 152 minmax;
+#X floatatom 45 184 4 0 0 0 - - -;
+#X floatatom 76 184 4 0 0 0 - - -;
+#X msg 45 112 10 2;
+#X msg 80 129 1 2 3 4 9 6 -1 7;
+#X text 352 14 part of zexy;
+#X connect 2 0 3 0;
+#X connect 2 1 4 0;
+#X connect 5 0 2 0;
+#X connect 6 0 2 0;
diff --git a/abs/minmax.pd b/abs/minmax.pd
new file mode 100644
index 0000000..da73b97
--- /dev/null
+++ b/abs/minmax.pd
@@ -0,0 +1,43 @@
+#N canvas 127 55 450 449 10;
+#X obj 40 27 inlet;
+#X obj 43 269 outlet min;
+#X obj 160 269 outlet max;
+#X obj 62 142 list split 1;
+#X obj 62 100 until;
+#X obj 62 121 list append;
+#X obj 153 163 bang;
+#X obj 62 169 t f f;
+#X obj 62 216 t f f;
+#X obj 43 237 f;
+#X obj 179 195 max;
+#X obj 179 216 t f f;
+#X obj 160 237 f;
+#X obj 62 195 min;
+#X obj 10 185 t b b;
+#X obj 40 69 t b b l f;
+#X obj 226 165 t f f;
+#X connect 0 0 15 0;
+#X connect 3 0 7 0;
+#X connect 3 1 5 1;
+#X connect 3 2 6 0;
+#X connect 4 0 5 0;
+#X connect 5 0 3 0;
+#X connect 6 0 4 1;
+#X connect 7 0 13 0;
+#X connect 7 1 10 0;
+#X connect 8 0 9 1;
+#X connect 8 1 13 1;
+#X connect 9 0 1 0;
+#X connect 10 0 11 0;
+#X connect 11 0 12 1;
+#X connect 11 1 10 1;
+#X connect 12 0 2 0;
+#X connect 13 0 8 0;
+#X connect 14 0 9 0;
+#X connect 14 1 12 0;
+#X connect 15 0 14 0;
+#X connect 15 1 4 0;
+#X connect 15 2 5 1;
+#X connect 15 3 16 0;
+#X connect 16 0 8 0;
+#X connect 16 1 11 0;