#N canvas 252 177 643 533 10; #X obj 18 133 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 6200 1; #X obj 18 309 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 7844 1; #X floatatom 39 321 5 0 0 0 - - -; #X floatatom 61 340 5 0 0 0 - - -; #X floatatom 69 202 5 0 0 0 - - -; #X floatatom 52 183 5 0 0 0 - - -; #X obj 18 277 autocal 0 127; #X floatatom 82 360 5 0 0 0 - - -; #X floatatom 104 380 5 0 0 0 - - -; #X floatatom 104 241 5 0 0 0 - - -; #X floatatom 86 222 5 0 0 0 - - -; #X obj 35 154 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #N canvas 495 236 547 477 save 0; #X obj 66 219 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 11461 1; #X obj 66 29 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 7600 1; #X obj 102 119 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X msg 87 218 set \$1; #X msg 87 240 21; #X msg 109 268 set \$1; #X msg 109 290 80; #X obj 146 217 loadbang; #X text 128 42 This is just an exemple of saving the calibration on message box.; #X floatatom 155 132 5 0 0 0 - - -; #X obj 66 187 autocal 0 127; #X connect 1 0 10 0; #X connect 2 0 10 1; #X connect 3 0 4 0; #X connect 4 0 10 2; #X connect 5 0 6 0; #X connect 6 0 10 3; #X connect 7 0 4 0; #X connect 7 0 6 0; #X connect 9 0 10 2; #X connect 10 0 0 0; #X connect 10 1 3 0; #X connect 10 2 5 0; #X restore 15 479 pd save calibration; #X text 53 155 learn; #X text 35 129 Data input; #X text 148 277 argument = output range (default = 0..1); #X text 150 317 minimum of the input; #X text 150 338 maximum of the input; #X text 150 360 center of the input; #X text 43 424 calibrated output; #X text 148 178 manual change the input minimum; #X text 149 197 manual change the input maximum; #X text 150 379 variation amplitude; #X text 195 45 autocal is an abstraction dedicated to calibrated sensors value. (auto calibration); #X text 196 112 You can easilly save this calibration in pd patch \, or adjust the jitter etc...; #X text 193 79 The autocal abstraction is "listening" to input value while "learn" is 1 \, and scale this input to the specified range. ; #X text 148 220 manual change the input center (jitter); #X text 149 239 manual change the input amplitude (change sensibility of the sensors); #X text 296 9 autocal; #X text 328 482 cyrille.henry@la-kitchen.fr 12/2004; #X connect 0 0 6 0; #X connect 4 0 6 3; #X connect 5 0 6 2; #X connect 6 0 1 0; #X connect 6 1 2 0; #X connect 6 2 3 0; #X connect 6 3 7 0; #X connect 6 4 8 0; #X connect 9 0 6 5; #X connect 10 0 6 4; #X connect 11 0 6 1;