The plugin scans all staves within the range selection (even hidden staves). It will create a tempo-marking for every encountered chord provided that:
In curved mode, the plugin allows you to influence the exponent value of a power function to set the halfway point of the transistion. That way you can decide whether the biggest part of the tempo change happens sooner or later.
Goals:
We can achieve this by raising the % tickRange to some power p, because for any p \((0\%)^p = 0\%\) of change applied and \((100\%)^p = 100\%\)
and so we only need calculate p for the current slider value, where we know the result should be 1/2 (50%).
What power p do we need to raise the current sliderValue to, in order to equal 1/2? $${sliderValue}^p = 1/2$$ $$log({sliderValue}^p) = log(1/2)$$ $$p*log({sliderValue}) = log(1/2)$$ $$p = { log(1/2) \over log({sliderValue}) }$$
Some common values: