From ca7c4e7300b84356fcb96a0da000237bf36ff665 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 8 Jul 2007 21:15:38 +0000 Subject: switched number box to slider for easier demonstration of the functionality svn path=/trunk/externals/mapping/; revision=7918 --- help/max_n-help.pd | 51 ++++++++++++++++++++++++++------------------------- help/min_n-help.pd | 31 +++++++++++++++++-------------- 2 files changed, 43 insertions(+), 39 deletions(-) diff --git a/help/max_n-help.pd b/help/max_n-help.pd index 263931e..898e8b0 100644 --- a/help/max_n-help.pd +++ b/help/max_n-help.pd @@ -1,26 +1,27 @@ -#N canvas 64 215 518 470 10; -#X floatatom 59 93 5 -20 127 0 - - -; -#X text 60 75 data; -#X obj 59 172 t f f; -#X msg 66 118 0; -#X floatatom 288 231 5 0 0 0 - - -; -#X floatatom 339 182 5 0 0 0 - - -; -#X text 387 180 size: n (n>=2); -#X text 80 39 max_n return the maximum from the last n (n>1) values +#N canvas 397 193 530 482 10; +#X text 41 58 data; +#X obj 40 155 t f f; +#X msg 57 120 0; +#X floatatom 271 249 5 0 0 0 - - -; +#X floatatom 318 197 5 2 150 0 - - -; +#X text 366 195 size: n (n>=2); +#X text 51 32 min_n return the minimum from the last n (n>1) values ; -#X msg 94 118 1; -#X msg 127 118 0.5; -#X floatatom 84 227 5 0 0 0 - - -; -#X obj 59 256 timeroll; -#X obj 267 255 timeroll; -#X obj 267 205 max_n 20; -#X connect 0 0 2 0; -#X connect 2 0 10 0; -#X connect 2 0 11 0; -#X connect 2 1 13 0; -#X connect 3 0 2 0; -#X connect 5 0 13 1; -#X connect 8 0 2 0; -#X connect 9 0 2 0; -#X connect 13 0 4 0; -#X connect 13 0 12 0; +#X msg 85 120 1; +#X msg 118 120 0.5; +#X obj 40 271 timeroll; +#X obj 246 271 timeroll; +#X obj 43 75 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 10 -262130 +-1 -1 4000 1; +#X floatatom 48 96 5 0 0 0 - - -; +#X obj 246 219 max_n 20; +#X connect 1 0 9 0; +#X connect 1 1 13 0; +#X connect 2 0 1 0; +#X connect 4 0 13 1; +#X connect 7 0 1 0; +#X connect 8 0 1 0; +#X connect 11 0 12 0; +#X connect 11 0 1 0; +#X connect 13 0 3 0; +#X connect 13 0 10 0; diff --git a/help/min_n-help.pd b/help/min_n-help.pd index 00a9eb4..6615b63 100644 --- a/help/min_n-help.pd +++ b/help/min_n-help.pd @@ -1,24 +1,27 @@ -#N canvas 397 193 522 474 10; -#X floatatom 40 76 5 0 127 0 - - -; +#N canvas 397 193 530 482 10; #X text 41 58 data; #X obj 40 155 t f f; -#X msg 47 101 0; +#X msg 57 120 0; #X floatatom 271 249 5 0 0 0 - - -; #X floatatom 318 197 5 2 150 0 - - -; #X text 366 195 size: n (n>=2); #X text 51 32 min_n return the minimum from the last n (n>1) values ; -#X msg 75 101 1; -#X msg 108 101 0.5; +#X msg 85 120 1; +#X msg 118 120 0.5; #X obj 40 271 timeroll; #X obj 246 271 timeroll; #X obj 246 219 min_n 20; -#X connect 0 0 2 0; -#X connect 2 0 10 0; -#X connect 2 1 12 0; -#X connect 3 0 2 0; -#X connect 5 0 12 1; -#X connect 8 0 2 0; -#X connect 9 0 2 0; -#X connect 12 0 4 0; -#X connect 12 0 11 0; +#X obj 43 75 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 10 -262130 +-1 -1 0 1; +#X floatatom 48 96 5 0 0 0 - - -; +#X connect 1 0 9 0; +#X connect 1 1 11 0; +#X connect 2 0 1 0; +#X connect 4 0 11 1; +#X connect 7 0 1 0; +#X connect 8 0 1 0; +#X connect 11 0 3 0; +#X connect 11 0 10 0; +#X connect 12 0 13 0; +#X connect 12 0 1 0; -- cgit v1.2.1