digimezzo / dopamine

The audio player that keeps it simple
https://digimezzo.github.io/site/
GNU General Public License v3.0
1.58k stars 110 forks source link

[Enhancement] Gapless playback (not necessarily crossfading) #681

Closed demif1end closed 1 month ago

demif1end commented 2 months ago

Gapless playback is a function of most (modern) music players that uses loading techniques to make it so that there isn't a gap between one track and the next (usually due to having to load the next track in it's entirety after a track finishes)

The typical way to do this is when nearing the end of a track, to buffer in the first few second(s) of the next track in the queue, so that that can be played immediately following the current stream, and then once the transition has been completed, to load in the rest of the track.

This is an outright necessity for a lot of albums to be listened to properly (a lot of prog metal/rock albums for example, live albums, generally just the majority of albums that have two tracks linked together) and is a feature of almost every music player I can think of (except VLC for some reason, which to this day has outright refused to add it, but it's more of a general media player).

Note that I am not requesting crossfading here - just the ability for the next track in queue to be played without a gap as described above.