goldfire / howler.js

Javascript audio library for the modern web.
https://howlerjs.com
MIT License
23.74k stars 2.22k forks source link

Fade method should have one more property for selecting logarithmic and linear fade. #814

Open z4ha opened 6 years ago

z4ha commented 6 years ago

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])

swfeathers commented 6 years ago

A log fade would allow better fading between songs too.

Saiv46 commented 3 years ago

FunkWhale uses this library for its player, and encountered the same problem:

https://dev.funkwhale.audio/funkwhale/funkwhale/-/issues/1222