How to "dampen" midi mapping

Copy and paste the code-snippet to the DSP rack from this post:
http://forum.renoise…inertial-slider