[PD-cvs] externals/mapping/help autoscale-help.pd,1.2,1.3

Hans-Christoph Steiner eighthave at users.sourceforge.net
Fri Jul 7 06:08:57 CEST 2006


Update of /cvsroot/pure-data/externals/mapping/help
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26185/help

Modified Files:
	autoscale-help.pd 
Log Message:
added three inlets: min, max and reset; replaced [oneshot] with [purepd/once] and switched to using [float_argument].

Index: autoscale-help.pd
===================================================================
RCS file: /cvsroot/pure-data/externals/mapping/help/autoscale-help.pd,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** autoscale-help.pd	29 Jan 2006 08:12:33 -0000	1.2
--- autoscale-help.pd	7 Jul 2006 04:08:55 -0000	1.3
***************
*** 1,6 ****
! #N canvas 229 80 468 541 10;
  #X floatatom 26 76 5 0 0 0 - - -;
  #X floatatom 26 140 0 0 0 0 - - -;
- #X obj 68 258 autoscale;
  #X obj 2 -10 cnv 15 450 20 empty empty [autoscale] 2 11 1 18 -233017
  -66577 0;
--- 1,5 ----
! #N canvas 229 80 464 532 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
  -66577 0;
***************
*** 8,14 ****
  range set as arguments \, and an input range which is set dynamically.
  ;
! #X floatatom 68 237 5 0 0 0 - - -;
! #X obj 71 281 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144
! -1 -1 17 1;
  #X text 17 441 (C) Copyright 2004 Hans-Christoph Steiner <hans at at.or.at>
  ;
--- 7,13 ----
  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 17 441 (C) Copyright 2004 Hans-Christoph Steiner <hans at at.or.at>
  ;
***************
*** 20,44 ****
  #X text 17 474 $Revision$$Date$;
  #X text 18 487 $Author$;
! #X text 25 324 The [reset( message resets the stored max and min to
! zero.;
! #X floatatom 46 348 5 0 0 0 - - -;
! #X obj 71 401 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144
! -1 -1 0 1;
! #X msg 96 346 reset;
! #X obj 150 110 autoscale -0.01 0.01;
! #X obj 297 110 autoscale -4095 4095;
! #X obj 68 378 autoscale;
  #X text 13 181 If you use [autoscale] with no arguments \, then the
  output range defaults to 0-1.;
  #X obj 26 110 autoscale;
! #X connect 0 0 22 0;
! #X connect 2 0 6 0;
! #X connect 5 0 2 0;
! #X connect 11 0 18 0;
! #X connect 11 0 19 0;
  #X connect 15 0 20 0;
! #X connect 17 0 20 0;
! #X connect 18 0 9 0;
! #X connect 19 0 10 0;
! #X connect 20 0 16 0;
! #X connect 22 0 1 0;
--- 19,52 ----
  #X text 17 474 $Revision$$Date$;
  #X text 18 487 $Author$;
! #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 12700 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.;
+ #X text 25 329 The [reset( message or banging the 4th inlet resets
+ the stored max and min to zero.;
+ #X msg 239 361 bang;
  #X obj 26 110 autoscale;
! #X obj 158 393 autoscale;
! #X obj 158 278 autoscale;
! #X obj 150 110 autoscale -0.01 0.01;
! #X obj 297 110 autoscale -4095 4095;
! #X text 14 211 You can also set the output min and max using the 2nd
! and 3rd inlets:;
! #X floatatom 195 260 5 0 0 1 max - -;
! #X floatatom 117 250 5 0 0 0 - - -;
! #X connect 0 0 19 0;
! #X connect 4 0 21 1;
! #X connect 10 0 22 0;
! #X connect 10 0 23 0;
! #X connect 13 0 20 0;
  #X connect 15 0 20 0;
! #X connect 18 0 20 3;
! #X connect 19 0 1 0;
! #X connect 20 0 14 0;
! #X connect 21 0 5 0;
! #X connect 22 0 8 0;
! #X connect 23 0 9 0;
! #X connect 25 0 21 2;
! #X connect 26 0 21 0;





More information about the Pd-cvs mailing list