mirror of
https://github.com/ppy/osu.git
synced 2024-11-07 20:07:24 +08:00
Merge pull request #12354 from nekodex/reduce-sample-pitch-randomisation
Reduce the randomised pitch range of hover sounds
This commit is contained in:
commit
8bd972c525
@ -36,7 +36,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
|
|
||||||
public override void PlayHoverSample()
|
public override void PlayHoverSample()
|
||||||
{
|
{
|
||||||
sampleHover.Frequency.Value = 0.96 + RNG.NextDouble(0.08);
|
sampleHover.Frequency.Value = 0.98 + RNG.NextDouble(0.04);
|
||||||
sampleHover.Play();
|
sampleHover.Play();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -152,7 +152,7 @@ namespace osu.Game.Screens.Select.Carousel
|
|||||||
{
|
{
|
||||||
if (sampleHover == null) return;
|
if (sampleHover == null) return;
|
||||||
|
|
||||||
sampleHover.Frequency.Value = 0.90 + RNG.NextDouble(0.2);
|
sampleHover.Frequency.Value = 0.99 + RNG.NextDouble(0.02);
|
||||||
sampleHover.Play();
|
sampleHover.Play();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user