Step size algorithms

When you rotate a dial, the Stream Deck reports this every 50 milliseconds to the plugin. The report includes the number of "ticks" passed during the last 50 ms period, where one "tick" is the physical step you feel when you turn the dial. The various algorithms use this tick value to calculate how much the value should be changed. If you rotate the dial slowly, chances are that the tick count for every report will be 1 (i.e., during the last 50 ms, only a single physical step was passed). In such cases, all algorithms change the value with the defined step value. With a fixed step size, the fader/vpot/bar value will always be changed with the defined step size, no matter how fast you rotate the dial. With a variable step size, different exponential forums are used (depending on the selected algorithm) to calculate the new value. These formulas take into account the defined step size, the reported number of ticks and the defined min and max values to calculate the resulting new value. The various formulas give you options to select a dial response that suits your way of working. The curves used in the calculations look like this:

All algorithms are tuned to report a value change equal to the complete value range when the tick count is 13, i.e. when you have rotated the dial so fast that you have passed 13 physical steps during a 50 ms period (which is quite fast).