LinearSmoothedValue feature request

FloatType getCurrentValue() const noexcept
   if (countdown <= 0)
       return target;

    return currentValue;

Otherwise, after I skip(), how do I get the value?




I don’t really like the idea of allowing that to be called… Somehow feels wrong, as you don’t want people to be repeatedly hitting that getter function.

Perhaps it’d make more sense for skip() to return the new value?

(And of course you could just call skip() 1 time fewer, and then call getNextValue(), couldn’t you?)


skip() returning a value would be ok. Calling one less time and then next value seems complicated for what should be simple.


OK, will sort that out…