#N canvas 1379 902 1417 689 10;
#X obj 232 95 inlet;
#X obj 191 95 inlet;
#X obj 326 95 inlet;
#X obj 286 95 inlet;
#X obj 32 98 inlet;
#X text 57 9 Maps the number in the first inlet from "range1" \, between
the second and third inlets \, to "range2" \, between the values in
the fourth and fifth inlets. If the leftmost inlet doesn't actually
reside in range1 \, clips the value before mapping.;
#X obj 102 152 clip;
#X obj 383 216 expr $f1 * ($f3 - $f2) + $f2;
#X obj 377 278 outlet;
#X obj 137 195 expr ($f1 - $f2) / ($f3 - $f2);
#X obj 186 141 f \$1;
#X obj 191 123 loadbang;
#X obj 245 141 loadbang;
#X obj 236 161 f \$2;
#X obj 326 144 loadbang;
#X obj 426 134 loadbang;
#X obj 321 163 f \$3;
#X obj 421 152 f \$4;
#X obj 95 108 f \$1;
#X obj 100 90 loadbang;
#X obj 145 117 loadbang;
#X obj 136 137 f \$2;
#X connect 0 0 13 0;
#X connect 0 0 21 0;
#X connect 1 0 10 0;
#X connect 1 0 18 0;
#X connect 2 0 17 0;
#X connect 3 0 16 0;
#X connect 4 0 6 0;
#X connect 6 0 9 0;
#X connect 7 0 8 0;
#X connect 9 0 7 0;
#X connect 10 0 9 1;
#X connect 11 0 10 0;
#X connect 12 0 13 0;
#X connect 13 0 9 2;
#X connect 14 0 16 0;
#X connect 15 0 17 0;
#X connect 16 0 7 1;
#X connect 17 0 7 2;
#X connect 18 0 6 1;
#X connect 19 0 18 0;
#X connect 20 0 21 0;
#X connect 21 0 6 2;
