aboutsummaryrefslogtreecommitdiff
path: root/median_n-help.pd
diff options
context:
space:
mode:
authorAlexandre Quessy <alexandrequessy@users.sourceforge.net>2006-11-28 17:20:16 +0000
committerAlexandre Quessy <alexandrequessy@users.sourceforge.net>2006-11-28 17:20:16 +0000
commit59b596f669816db70ec3d17303faf8b17b8e83fb (patch)
tree2269762a811bbc44e6b99a7d9ff947e6948dc160 /median_n-help.pd
parente4ad2410c640e0606f53f42ff51dedacfeda0824 (diff)
renaming median for median_n
svn path=/trunk/externals/mapping/; revision=6493
Diffstat (limited to 'median_n-help.pd')
-rw-r--r--median_n-help.pd34
1 files changed, 34 insertions, 0 deletions
diff --git a/median_n-help.pd b/median_n-help.pd
new file mode 100644
index 0000000..817a8b7
--- /dev/null
+++ b/median_n-help.pd
@@ -0,0 +1,34 @@
+#N canvas 748 316 556 301 10;
+#X obj 16 105 cnv 15 60 60 empty empty empty 20 12 0 14 -258699 -66577
+0;
+#X floatatom 22 30 5 0 0 0 - - -;
+#X floatatom 22 220 5 0 0 0 - - -;
+#X text 120 166 Calculates the median of the last n numbers in a stream
+of numbers.;
+#X text 120 221 )c( Alexandre Quessy 2006;
+#X msg 89 55 123 234 345 123 345 67;
+#X obj 56 81 drip;
+#X obj 184 197 zexy;
+#X text 118 197 Requires;
+#X text 191 118 [median <sample set size>];
+#N canvas 0 0 342 294 more 0;
+#X obj 90 103 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144
+-1 -1 0 1;
+#X obj 267 103 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144
+-1 -1 0 1;
+#X text 71 66 Play with the left one.;
+#X obj 127 139 median_n 25;
+#X connect 0 0 3 0;
+#X connect 3 0 1 0;
+#X restore 404 261 pd more examples;
+#X msg 87 29 999 999 7 6 5 0 0;
+#X obj 268 197 expr;
+#X text 230 197 and;
+#X text 94 82 Needs a stream of floats \, not a list;
+#X text 122 243 Release under the GPL v2;
+#X obj 22 115 median_n 6;
+#X connect 1 0 16 0;
+#X connect 5 0 6 0;
+#X connect 6 0 16 0;
+#X connect 11 0 6 0;
+#X connect 16 0 2 0;