I’m having an issue with the slider setRange. I have a parameter that goes from 0 to 255ms, a filstrip knob with 256 frames. I set the knob this way:
myKnob->setRange(0.0, 1.0, knobRatio);
where knob ratio is (1.0f / 255.f)
problem is… let’s say I set the knob to 140ms in the GUI. next time I click I see 139ms but the parameter is set to 140.25
the only way I have to get all consistent is by using 0.01 as interval… but in this way my 1ms steps for the knobs are totally lost.