You may find this article helpful: Logarithmic Sliders – JUCE Step by step
However, do pay attention to the forum post mentioned in that article. A skew slider is NOT a true logarithmic scale. For the freq value, I would suggest a true log scale slider instead.
Hello everybody,
setting up a logarithmic slider for frequencies I encounter the following problem:
[Bildschirmfoto 2024-10-04 um 10.39.29]
with the skewfactor 0.2 I shoud retrieve equal distances between doubling values, but the first doubling step (20 - 40) is far to big…
as I altered the lookAndFeel for the left slider and was not sure, if I created this problem there, I put a standard slider as a reference to the right with the same skew settings
testSlider.setRange(20.f, 20000.f, …