Thanks to your advices I was finally able to get the problem solved. I tried multiple variations to get it done and this one finally works properly and makes the sound to fade out when velocity is below a value that you set. Mine was 500. So this is the answer that I was looking for ! Also thank you all for your help ! ^^