Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crossfade Feature for Seamless Song Transitions #1093

Open
2 tasks done
BENx2115 opened this issue Aug 17, 2024 · 2 comments
Open
2 tasks done

Crossfade Feature for Seamless Song Transitions #1093

BENx2115 opened this issue Aug 17, 2024 · 2 comments

Comments

@BENx2115
Copy link

Change request

I would like to request the addition of a crossfade feature in Lavalink. This feature would allow songs to transition smoothly from one to the next by gradually lowering the volume of the current track while increasing the volume of the next track. Users could adjust the speed of the transition, similar to how it is done on Spotify. This would enhance the listening experience by eliminating abrupt song changes.

Relevance

While it is not a much-needed feature, it would be a great addition that would help many users make music playback more enjoyable and smoother.

Could this be a plugin instead?

I'm not sure if this is possible but I think as a plugin it would be ok.

Checklist

  • I have checked for duplicate issues
  • I have checked for existing plugins
@devoxin
Copy link
Member

devoxin commented Aug 17, 2024

Not currently doable (at least, easily/cleanly) with our current version of Lavaplayer. This would also likely require additional events to be dispatched by Lavalink to clients so that the client can send back the next track for Lavalink to queue up and begin crossfading into. There would also need to be consideration for how to handle exceptions and stuck tracks during the transition, as well as some other pertinent aspects that I might be neglecting to mention.

@gabcaua
Copy link

gabcaua commented Sep 21, 2024

@devoxin i might be really dumb to say this, but I just thought maybe a volume roll of (reducing the volume) near a track end
and trying to up the volume again on a track_start if a track is playing (so it was not stuck).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants