I am working on this problem, where a parameter in my MPC is driven by a float value. I want my float value to go from 0 to 1 smoothly, with .1 increments when the “f” key is pressed.
For the sake of clarity, let 0 represent blue and 1 represent red. The idea is on keypress, we go .1 closer to red, smoothly and it would take 10 pressed of “f” to move from red to blue.
I have tried adding the current float value with the .1 increment but I ditched that because it looks jerky since it is instantly hopping up .1.
I have tried timelines, but I am only able to go from 0-1 with one keypress. I just want the .1 increments. Thank you in advance.