aboutsummaryrefslogtreecommitdiff
path: root/median_n-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'median_n-help.pd')
-rw-r--r--median_n-help.pd31
1 files changed, 31 insertions, 0 deletions
diff --git a/median_n-help.pd b/median_n-help.pd
new file mode 100644
index 0000000..aa0feb7
--- /dev/null
+++ b/median_n-help.pd
@@ -0,0 +1,31 @@
+#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 112 93 Calculates the median of the last n numbers in a stream
+of numbers.;
+#X text 349 254 )c( Alexandre Quessy 2006;
+#X obj 414 225 zexy;
+#X text 348 225 Requires;
+#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 117 172 pd more examples;
+#X obj 498 225 expr;
+#X text 460 225 and;
+#X text 352 268 Release under the GPL v2;
+#X obj 22 115 median_n 6;
+#X text 108 55 [median_n <sample set size>];
+#X text 112 119 Useful for discarding irrealistic values received from
+electronic sensors.;
+#X text 119 268 See also;
+#X obj 187 266 median;
+#X connect 1 0 11 0;
+#X connect 11 0 2 0;