fix: some changes to custom pitch pitch

This commit is contained in:
ChomeNS
2025-03-03 12:33:14 +07:00
parent f3ffa19bfa
commit c976878997
2 changed files with 2 additions and 2 deletions

View File

@@ -383,7 +383,7 @@ public class MusicPlayerPlugin extends Bot.Listener {
final Vector3d blockPosition = getBlockPosition(note);
final double notShiftedFloatingPitch = Math.pow(2.0, ((note.pitch + (pitch / 10)) - 12) / 12.0);
final double notShiftedFloatingPitch = 0.5 * Math.pow(2, (note.pitch + (pitch / 10)) / 12);
key += 33;