webamp
webamp copied to clipboard
Fade out on pause/stop
In the native app (v2.91) when you pause or stop, the player actually does a very quick fade out. I believe when you resume play (from a paused state) it fades back in.
Issue #458 might be related to this.
It's probably possible to automate the volume with something similar to the preamp feature. I imagine the easiest solution would be to make another gain node parameter set at "1" when the audio is playing, and automate this parameter to 0 in 50ms for example. Then automate it back again to 1 when the user clicks play. In order for this to work, the stop button should do the fadeout first and actually stop the track after the fadeout is done. Play button should work immediately and fade the song in after the button has been pushed.