title: Fade out audio instantly
body: <p>In short: I have a playing audio. On key-press I want to fade out the audio instantly, as soon as I press. All the information I found is fading out the audio with an interval regarding to the duration, such as <code>audio.duration - 2</code> <em>seconds</em>. However, I want to fade out instantly.</p>
  
  <p>To expand: I asked another question <a href="https://stackoverflow.com/questions/38387226/pop-noise-sounds-when-audio-paused-with-javascript">here</a>, regarding to my main problem. I tried <code>audio.pause</code> approach, but it's giving me 'pop' noise. From my research, I think it's the sound of 'instantly setting playing audio's volume to 0'. That's why I thought 'fade-out' would be a workaround to achieve what I am trying.</p>