How to have even distances but uneven differences between steps on knob?

Hello,

How to have even distances but uneven numerical differences between steps on knob?

I want to have these values only: 0.0909, 0.111, 0.125, 0.143, 0.167, 0.2, 0.25, 0.334, 0.5, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 and 11 (actually I wanted to have 1/11, 1/10, 1/9 etc instead of the equivalent decimal values to be displayed but it doesn’t seem possible).

So, I have set the range field like this:

{
“min”: 0.0909,
“max”: 11
}

…and the Range field like that:

[ 0.0909, 0.111, 0.125, 0.143, 0.167, 0.2, 0.25, 0.334, 0.5, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 ]

However I have been unable to set the same arc between consecutive values, even with logScale activated. This is especially an issue for values lower than 1, where the arc is really small.

Is it possible to do it?

with some formula maybe?

I have tried with these settings:
Range:{ “min”: -11, “max”: 11}
Steps: [-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,1,2,3,4,5,6,7,8,9,10,11]
Value: #{@{this} < 0 ? (-1/@{this}) : @{this}}

It doesn’t function. :frowning:

This is the right approach I think, however you need to process the value in a different widget: create an input and set its value property to:

#{
@{knob_1} < 0 ? (-1 / @{knob_1}) : @{knob_1}
}

Note that complex value mapping is easier to handle from a custom module.