Skip to content

Commit 0b11953

Browse files
committed
Adjust stereo shift effects for UI sounds to be less extreme
1 parent 30ba4b9 commit 0b11953

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

osu.Game/OsuGameBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public partial class OsuGameBase : Framework.Game, ICanAcceptFiles, IBeatSyncPro
9090

9191
public const int SAMPLE_CONCURRENCY = 6;
9292

93-
public const double SFX_STEREO_STRENGTH = 0.75;
93+
public const double SFX_STEREO_STRENGTH = 0.6;
9494

9595
/// <summary>
9696
/// Length of debounce (in milliseconds) for commonly occuring sample playbacks that could stack.

osu.Game/Screens/SelectV2/BeatmapLeaderboardWedge.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ protected void SetScores(IEnumerable<ScoreInfo> scores, ScoreInfo? userScore = n
328328
var chan = swishSample?.GetChannel();
329329
if (chan == null) return;
330330

331-
chan.Balance.Value = -OsuGameBase.SFX_STEREO_STRENGTH;
331+
chan.Balance.Value = -OsuGameBase.SFX_STEREO_STRENGTH / 2;
332332
chan.Frequency.Value = 0.98f + RNG.NextDouble(0.04f);
333333
chan.Play();
334334
}, delay);

osu.Game/Screens/SelectV2/BeatmapMetadataWedge.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ private void playWedgeAppearSound()
319319
if (wedgeAppearChannel1 == null)
320320
return;
321321

322-
wedgeAppearChannel1.Balance.Value = -OsuGameBase.SFX_STEREO_STRENGTH;
322+
wedgeAppearChannel1.Balance.Value = -OsuGameBase.SFX_STEREO_STRENGTH / 2;
323323
wedgeAppearChannel1.Frequency.Value = 0.98f + RNG.NextDouble(0.04f);
324324
wedgeAppearChannel1.Play();
325325

@@ -329,7 +329,7 @@ private void playWedgeAppearSound()
329329
if (wedgeAppearChannel2 == null)
330330
return;
331331

332-
wedgeAppearChannel2.Balance.Value = -OsuGameBase.SFX_STEREO_STRENGTH;
332+
wedgeAppearChannel2.Balance.Value = -OsuGameBase.SFX_STEREO_STRENGTH / 2;
333333
wedgeAppearChannel2.Frequency.Value = 0.90f + RNG.NextDouble(0.05f);
334334
wedgeAppearChannel2.Play();
335335
}, 100);
@@ -341,7 +341,7 @@ private void playWedgeHideSound()
341341
if (wedgeHideChannel == null)
342342
return;
343343

344-
wedgeHideChannel.Balance.Value = -OsuGameBase.SFX_STEREO_STRENGTH;
344+
wedgeHideChannel.Balance.Value = -OsuGameBase.SFX_STEREO_STRENGTH / 2;
345345
wedgeHideChannel.Play();
346346
}
347347

0 commit comments

Comments
 (0)