aboutsummaryrefslogtreecommitdiff
path: root/puremapping/max_n.pd
diff options
context:
space:
mode:
Diffstat (limited to 'puremapping/max_n.pd')
-rw-r--r--puremapping/max_n.pd98
1 files changed, 98 insertions, 0 deletions
diff --git a/puremapping/max_n.pd b/puremapping/max_n.pd
new file mode 100644
index 0000000..748787d
--- /dev/null
+++ b/puremapping/max_n.pd
@@ -0,0 +1,98 @@
+#N canvas 257 252 462 312 10;
+#X obj 64 57 inlet;
+#X obj 144 57 inlet;
+#X obj 64 207 outlet;
+#X obj 64 148 last_n \$1;
+#N canvas 0 0 703 492 list-maximum 0;
+#X obj 129 120 route float;
+#X obj 106 366 f;
+#X obj 106 393 outlet;
+#X obj 106 10 inlet;
+#N canvas 0 0 450 300 once 0;
+#X obj 110 75 inlet;
+#X obj 105 187 spigot 1;
+#X obj 110 104 t b f;
+#X msg 125 151 0;
+#X msg 165 99 1;
+#X obj 165 63 inlet;
+#X obj 102 219 outlet;
+#X connect 0 0 2 0;
+#X connect 1 0 6 0;
+#X connect 2 0 3 0;
+#X connect 2 1 1 0;
+#X connect 3 0 1 1;
+#X connect 4 0 1 1;
+#X connect 5 0 4 0;
+#X restore 263 183 pd once;
+#X obj 276 258 f;
+#X obj 245 257 max;
+#X obj 129 150 t a a a;
+#X obj 106 30 t b a b;
+#X text 324 183 prime [min] and [max] with first item once;
+#N canvas 0 0 450 300 list-drip 0;
+#X obj 63 84 t a a;
+#X obj 63 241 spigot;
+#X obj 102 149 bang;
+#X obj 102 168 1;
+#X obj 223 149 route bang;
+#X obj 183 150 bang;
+#X obj 183 169 0;
+#X obj 102 114 list split 2;
+#X obj 232 379 list split;
+#X obj 299 328 list length;
+#X obj 299 350 >> 1;
+#X obj 63 260 t a a a a;
+#X obj 63 446 list split;
+#X obj 130 398 list length;
+#X obj 130 423 >> 1;
+#X obj 31 19 inlet;
+#X obj 290 175 outlet;
+#X text 73 19 Copyright 2009 by Mathieu Bouchard;
+#X obj 31 53 t b a;
+#X obj 465 119 outlet;
+#X text 520 121 signal end of list;
+#X text 381 23 made compatible with [list-drip]: fbar 2009;
+#X connect 0 0 1 0;
+#X connect 0 1 7 0;
+#X connect 1 0 11 0;
+#X connect 2 0 3 0;
+#X connect 3 0 1 1;
+#X connect 4 1 16 0;
+#X connect 5 0 6 0;
+#X connect 6 0 1 1;
+#X connect 7 0 2 0;
+#X connect 7 2 4 0;
+#X connect 7 2 5 0;
+#X connect 8 0 0 0;
+#X connect 9 0 10 0;
+#X connect 10 0 8 1;
+#X connect 11 0 12 0;
+#X connect 11 1 13 0;
+#X connect 11 2 8 0;
+#X connect 11 3 9 0;
+#X connect 12 1 0 0;
+#X connect 13 0 14 0;
+#X connect 14 0 12 1;
+#X connect 15 0 18 0;
+#X connect 18 0 19 0;
+#X connect 18 1 0 0;
+#X restore 129 97 pd list-drip;
+#X text 427 286 from foobar/list-abs;
+#X connect 0 0 7 0;
+#X connect 1 0 2 0;
+#X connect 3 0 8 0;
+#X connect 4 0 6 1;
+#X connect 5 0 6 1;
+#X connect 6 0 5 0;
+#X connect 6 0 1 1;
+#X connect 7 1 6 0;
+#X connect 7 2 4 0;
+#X connect 8 0 1 0;
+#X connect 8 1 10 0;
+#X connect 8 2 4 1;
+#X connect 10 0 0 0;
+#X restore 64 179 pd list-maximum;
+#X connect 0 0 3 0;
+#X connect 1 0 3 1;
+#X connect 3 0 4 0;
+#X connect 4 0 2 0;