mirror of
https://github.com/pvrzz/atmosphere.git
synced 2026-11-29 05:22:26 +00:00
Gapless playback, crossfade and volume levelling
- Two-deck player keeps the next song loaded and buffered, and blends it in 20 ms before the current one ends, so albums and playlists play without gaps - Skipping to the next song uses the preloaded deck, so it starts instantly - Optional crossfade (up to 12 s); songs from the same album stay gapless - Optional volume levelling: uses ReplayGain tags or measures each song once (-14 LUFS, capped so boosts never clip); files are never changed - Playback section at the top of Settings
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ function bindConnect() {
|
||||
window.addEventListener("player", (e) => {
|
||||
if (e.detail.type !== "time") apiPublishSoon();
|
||||
});
|
||||
Player.audio.addEventListener("seeked", apiPublishSoon);
|
||||
Player.on("seeked", apiPublishSoon);
|
||||
Connect.beat = setInterval(() => {
|
||||
if (!Player.audio.paused) apiPublishSoon();
|
||||
}, 10000);
|
||||
|
||||
Reference in New Issue
Block a user