Slider with decimal values? #656
Unanswered
damiensellier
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm currently fixing a bug in Ctrlr v5.6.26+ not letting a uiSlider having the max value when using negative values in its range.
I sorted this problem out already, see : damiensellier#24
BUT
I was wondering if in the older version like 5.2.128 and before, it was possible to assign decimal values with decimal intervals.
For exemple 0.0 to 1.0 with interval 0.1 going 0.0, 0.1, 0.2 etc
I have memories of tricking the slider with values like 48256 for 48.256 and assigning a LUA script to send the proper value via sysex with 5.2.198. Or also I used uiFixedSliders with custom decimal values (0.0,0.1,0.2 etc).
Maybe my question is just non-sense and everything should be set as integer values as it is now, since most of the time it's to send CC values 0 to 127. 5.2.198 is confusing since it shows decimal values on the slider, but 5.6.26+ has only integers.
JUCE slider component is allowing decimals, everything is type (float) so it should be possible anyway, but the mapping in Ctrl is a bit strange for that.
5.2.198:
5.6.30:
Damien
Beta Was this translation helpful? Give feedback.
All reactions