Using fade as fade out sounds unnatural and that because fading is linear.
Maybe optional property for selecting type would be nice improvement?
fade(from, to, duration, [log], [id])
A log fade would allow better fading between songs too.
FunkWhale uses this library for its player, and encountered the same problem:
https://dev.funkwhale.audio/funkwhale/funkwhale/-/issues/1222
Most helpful comment
FunkWhale uses this library for its player, and encountered the same problem:
https://dev.funkwhale.audio/funkwhale/funkwhale/-/issues/1222