LinearSmoothedValue feature request


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

    return currentValue;
}

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


#2

Bump


#3

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?)


#4

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


#5

OK, will sort that out…