Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-98200

All sound sliders except master ignored by high-volume /playsound


    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 16w39c, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w15a, Minecraft 17w16a, Minecraft 1.12 Pre-Release 2, Minecraft 1.12, Minecraft 17w48a, Minecraft 17w49b, Minecraft 1.13, Minecraft 18w50a, 1.15 Pre-Release 2, 1.15 Pre-release 4, 1.15.2, 20w07a, 1.16.3, 1.17, 1.17.1, 1.18 Pre-release 1, 1.19.2
    • None
    • Confirmed
    • Sound
    • Low
    • Platform

      The bug

      When playing a loud sound from /playsound, the volume that it plays at ignores the set slider volume in settings (this occurs with any slider other than 'master'). What should be happening is that no matter how loud the volume is set in the playsound, the highest it should play is to the slider level in settings. This must be a bug as the 'master' slider IS able to adjust the volume whereas all the other settings can't when the sound is played on their slider category, thus the other sliders all have this issue.

      To reproduce

      1. Set your hostile slider to 100%
      2. /playsound minecraft:block.note_block.pling hostile @p ~ ~ ~ 100000
      3. Lower your hostile slider down (for example to 1%) and play the sound to see that the sound is still playing at the same volume as 100%
      4. Set the master slider to 1%
      5. Play the sound at the same volume again to see that now the sound does lower in volume
      6. What should have happened is when the hostile slider was lowered, the sound should have played at a decreased volume, however it continued playing at the same volume.

      Test with a low volume sound to see that it works correctly for low volume sounds:

      1. Set hostile volume slider to 100%
      2. /playsound minecraft:block.note.pling hostile @p ~ ~ ~ 1
      3. Drag the hostile volume slider down and listen again to see that the volume DOES now scales with the slider.

      Analysis (from dupe MC-255436)

      The multiplication of the sound sliders happens before clamping the volume value from 0 to 1, rather than after.

            Unassigned Unassigned
            onnowhere Onnowhere
            49 Vote for this issue
            22 Start watching this issue