Hi Steven,

That's right, we had to fix the behavior of the log and exp scales of the
IDE to be identical to those of other architectures. In a few words, in
most cases (for example for frequencies) you have to use the logarithmic
scale and not an exponential scale. The exponential scale is there for the
sake of symmetry, but I don't know of any application for it ;-).

To understand how it works, let's imagine a frequency slider between 20 and
20000 Hz. Choosing a logarithmic scale corresponds to the fact that the
values under the slider are arranged according to a logarithmic scale (like
the keys of a keyboard, or like the values on the vertical axis of a graph
with a logarithmic scale), with more space and precision for the small
values and less and less space and precision for the big values.

Here is how the mapping is done. Let's imagine that the graphic position of
the slider is a number p between 0 and 1. 0 is the minimum value of the
slider and 1 is the maximum value of the slider. Let's also imagine that
the minimum value of the slider is LO and the maximum value HI. Then the
value delivered by the slider when it is in position p will be
exp((1-p)*log(LO)+p*log(HI)). Therefore, it is imperative that LO > 0 for
log(LO) to be defined.

I hope this explanation clarifies the semantics of the logarithmic scale...

Cheers,

Yann







Le mer. 22 sept. 2021 à 18:42, Steven Kraninger <skranin...@gmail.com> a
écrit :

> I am not sure if this is only in the IDE, but the slider scaling has
> changed to be much more skewed and not really usable.
>
> For instance:
> modFreq(j) = hslider("t:EchoMatrix/v:[1]Delays/h:[3]ModFreq/MF
> U%j[scale:exp][style:knob]", 0.05, 0.0, 10.0, 0.001) : si.smoo ;
>
> Goes from 0 to 9 in the 1st (estimated) 1/20 of the range. This is not how
> it used to work.
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to