mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Center pitch randomisation around base pitch
This commit is contained in:
committed by
Dean Herbert
parent
bd6664d541
commit
910fe3e9f8
@ -238,7 +238,7 @@ namespace osu.Game.Overlays.Volume
|
||||
|
||||
var channel = sample.GetChannel();
|
||||
|
||||
channel.Frequency.Value = 1 + displayVolume * 0.1f + RNG.NextDouble(0.02f);
|
||||
channel.Frequency.Value = 0.99f + RNG.NextDouble(0.02f) + displayVolume * 0.1f;
|
||||
|
||||
if (displayVolumeInt == 0)
|
||||
channel.Frequency.Value -= 0.5f;
|
||||
|
Reference in New Issue
Block a user