freyacodes / archived-bot

A Discord music bot serving music in over 3 million discord servers
https://fredboat.com/docs
MIT License
488 stars 210 forks source link

Have a configuration to Crossfade songs #481

Open Uri-Rocky opened 6 years ago

Uri-Rocky commented 6 years ago

This configuration would allow the currently playing track to fade away while the next track fades in A set amount of time to Crossfade of up to 15 seconds should be responsible

Shredder121 commented 6 years ago

Note that lavaplayer only can have one currently playing track, and that the pluggable filters work on one track, one frame.

Moreover, my async packet provider already starts the next track 200 milliseconds early, in the name of having more time to provide it to jda-nas.

Starting the next track 15 seconds early is bad. (Although the crossfade might start to be noticable halfway?)

Just my 2 cents

freyacodes commented 6 years ago

1) Lavalink makes this particularly tricky to accomplish 2) It would be bad for performance due to the change in volume 3) 15 seconds is a lot