webamp icon indicating copy to clipboard operation
webamp copied to clipboard

Fade out on pause/stop

Open captbaritone opened this issue 10 years ago • 2 comments

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.

captbaritone avatar Nov 13 '14 06:11 captbaritone

Issue #458 might be related to this.

Explorer09 avatar Feb 11 '18 09:02 Explorer09

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.

GChuf avatar Jan 19 '19 20:01 GChuf