1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-13 20:33:35 +08:00

Adjust fade in and fade out during track transitions to reduce overlap

Based on feedback I've heard more than once, there's too much overlap
compared to stable. And it can sound a bit "jumbled" as a result,
especially when transitioning between two songs with loud and "complex"
audio.

Yes, I'm aware that the delay is not accounted for in the constant. This
is intentional because it sounds better. I want this to be an internal
adjustment which is not to be considered by any external usages of those
constants. Just sounds better.
This commit is contained in:
Dean Herbert
2026-03-18 13:56:34 +09:00
Unverified
parent b8d0dfe2ed
commit 8de323b68c
+4 -3
View File
@@ -37,8 +37,8 @@ namespace osu.Game.Overlays
/// </summary>
private const double restart_cutoff_point = 5000;
public const double TRACK_FADE_IN_TIME = 500;
public const double TRACK_FADE_OUT_TIME = 300;
public const double TRACK_FADE_IN_TIME = 250;
public const double TRACK_FADE_OUT_TIME = 100;
/// <summary>
/// Whether the user has requested the track to be paused. Use <see cref="IsPlaying"/> to determine whether the track is still playing.
@@ -530,8 +530,9 @@ namespace osu.Game.Overlays
if (queuedTrack == CurrentTrack)
{
queuedTrack.Volume.Value = 0;
AddInternal(queuedTrack);
queuedTrack.VolumeTo(0).Then().VolumeTo(1, TRACK_FADE_IN_TIME, Easing.Out);
queuedTrack.Delay(50).VolumeTo(1, TRACK_FADE_IN_TIME, Easing.Out);
}
else
{