#N canvas 407 51 722 560 10; #X obj 49 186 testtools/unit-test-frame; #X obj 49 58 loadbang; #X msg 49 90 itov 0; #X text 118 41 - value of first class; #X text 118 68 - number of classes; #X text 118 55 - value of last class; #X text 117 26 arguments:; #X text 117 88 output:; #X text 121 -33 itov: intex to value; #X text 118 -4 input:; #X text 119 12 - class index; #X text 114 151 out-of-range input is clipped; #X text 118 117 - center value of class i; #X text 118 103 - lower value of class i; #X text 118 131 - upper value of class i; #X obj 318 66 cos; #X obj 318 42 / 128; #X obj 318 89 + 1; #X obj 318 138 smlib/itov 0 1 512; #X obj 318 112 * 256; #X connect 0 2 16 0; #X connect 1 0 2 0; #X connect 2 0 0 0; #X connect 15 0 17 0; #X connect 16 0 15 0; #X connect 17 0 19 0; #X connect 18 1 0 1; #X connect 19 0 18 0;