aboutsummaryrefslogtreecommitdiff
path: root/help/autoscale-help.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-12-24 06:06:41 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-12-24 06:06:41 +0000
commitc68540d494272de1baabdae875e95fbd02e7ea60 (patch)
tree4fa30eec901aa6ada759aef39a406797e4f66d27 /help/autoscale-help.pd
parent45d50493ba307fa71cdf29bb919948ce8d396cea (diff)
added state saving, modifying Cyrille's idea
svn path=/trunk/externals/mapping/; revision=7054
Diffstat (limited to 'help/autoscale-help.pd')
-rw-r--r--help/autoscale-help.pd93
1 files changed, 42 insertions, 51 deletions
diff --git a/help/autoscale-help.pd b/help/autoscale-help.pd
index 2be0e32..a50750a 100644
--- a/help/autoscale-help.pd
+++ b/help/autoscale-help.pd
@@ -1,4 +1,4 @@
-#N canvas 248 54 487 774 10;
+#N canvas 139 22 451 673 10;
#X floatatom 26 76 5 0 0 0 - - -;
#X floatatom 26 140 0 0 0 0 - - -;
#X obj 2 -10 cnv 15 450 20 empty empty [autoscale] 2 11 1 18 -233017
@@ -8,16 +8,14 @@ range set as arguments \, and an input range which is set dynamically.
;
#X floatatom 177 244 5 0 0 1 min - -;
#X obj 161 301 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144
--1 -1 0 1;
-#X text 219 707 released under the GNU GPL;
+-1 -1 10391 1;
#X floatatom 150 140 0 0 0 0 - - -;
#X floatatom 297 140 0 0 0 0 - - -;
#X obj 213 71 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144
--1 -1 7300 1;
-#X text 314 726 $Author: nusmuk $;
+-1 -1 0 1;
#X floatatom 136 363 5 0 0 0 - - -;
#X obj 161 416 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144
--1 -1 4233 1;
+-1 -1 5443 1;
#X msg 186 361 reset;
#X text 13 181 If you use [autoscale] with no arguments \, then the
output range defaults to 0-1.;
@@ -26,59 +24,52 @@ output range defaults to 0-1.;
and 3rd inlets:;
#X floatatom 195 260 5 0 0 1 max - -;
#X floatatom 117 250 5 0 0 0 - - -;
-#X obj 295 361 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+#X obj 295 361 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
-#X text 2 693 (C) Copyright 2006 Hans-Christoph Steiner <hans@at.or.at>
-;
#X text 14 322 The [reset( message or banging the 4th inlet resets
the stored max and min to zero. 0 disables the auto-tracking \, 1 re-enables
it:;
-#X floatatom 127 517 5 0 0 0 - - -;
-#X obj 130 662 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144
--1 -1 7109 1;
-#X msg 215 580 set \$1;
-#X msg 215 627 2.89;
-#X msg 304 579 set \$1;
-#X msg 304 628 3.83;
-#X obj 323 598 loadbang;
-#X msg 169 517 dump;
+#X floatatom 81 505 5 0 0 0 - - -;
+#X obj 130 630 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 5292 1;
#X text 16 453 The dump message allow "autoscale" to output the min
and max of the input data. this allow user to save this data in order
to load the same callibration with a loadbang :;
-#X obj 127 556 autoscale 0 1 ____________;
-#X msg 304 532 0;
-#X obj 304 509 loadbang;
-#X text 2 726 $Revision: 1.5 $$Date: 2006-12-23 10:32:41 $;
+#X obj 300 532 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+1;
+#X obj 215 579 pack float float;
+#X msg 148 500 save;
+#X msg 215 600 set load \$1 \$2;
+#X msg 150 523 load 1 11;
+#X obj 150 110 autoscale -0.01 0.01;
#X obj 158 393 autoscale;
#X obj 26 110 autoscale;
#X obj 158 278 autoscale;
-#X obj 150 110 autoscale -0.01 0.01;
#X obj 297 110 autoscale -4095 4095;
-#X connect 0 0 36 0;
-#X connect 4 0 37 1;
-#X connect 9 0 38 0;
-#X connect 9 0 39 0;
-#X connect 11 0 35 0;
-#X connect 13 0 35 0;
-#X connect 15 0 35 3;
-#X connect 17 0 37 2;
-#X connect 18 0 37 0;
-#X connect 19 0 35 3;
-#X connect 22 0 31 0;
-#X connect 24 0 25 0;
-#X connect 25 0 31 1;
-#X connect 26 0 27 0;
-#X connect 27 0 31 2;
-#X connect 28 0 27 0;
-#X connect 28 0 25 0;
-#X connect 29 0 31 0;
-#X connect 31 0 23 0;
-#X connect 31 1 24 0;
-#X connect 31 2 26 0;
-#X connect 32 0 31 3;
-#X connect 33 0 32 0;
-#X connect 35 0 12 0;
-#X connect 36 0 1 0;
-#X connect 37 0 5 0;
-#X connect 38 0 7 0;
-#X connect 39 0 8 0;
+#X obj 127 556 autoscale 0 1 ______________;
+#X msg 323 531 bang;
+#X connect 0 0 29 0;
+#X connect 4 0 30 1;
+#X connect 8 0 27 0;
+#X connect 8 0 31 0;
+#X connect 9 0 28 0;
+#X connect 11 0 28 0;
+#X connect 13 0 28 3;
+#X connect 15 0 30 2;
+#X connect 16 0 30 0;
+#X connect 17 0 28 3;
+#X connect 19 0 32 0;
+#X connect 22 0 32 3;
+#X connect 23 0 25 0;
+#X connect 24 0 32 0;
+#X connect 25 0 26 0;
+#X connect 26 0 32 0;
+#X connect 27 0 6 0;
+#X connect 28 0 10 0;
+#X connect 29 0 1 0;
+#X connect 30 0 5 0;
+#X connect 31 0 7 0;
+#X connect 32 0 20 0;
+#X connect 32 1 23 0;
+#X connect 32 2 23 1;
+#X connect 33 0 32 3;