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

Far away sounds are louder than they should be

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.8, Minecraft 1.8.8, Minecraft 15w49b, Minecraft 1.13.1, 1.17.1, 1.18.2, 22w11a
    • Confirmed
    • Sound

      I did not find any other reports about this problem, so here it goes:

      In Minecraft, the sounds that are far away from the player seem too intense. And when the sound is played a bit further away, it abruptly gets quiet (See graph 1). This has to do with the fact that Minecraft uses a linear way of calculating sound intensity for the distance. In real life, it is more like a curve. See attached graphs.

      It's just a minor thing, and easy to fix, but still a noticeable flaw.

      EDIT: This is what the calculation should be:

      SoundVolume = 1 / ( Distance^2 - 1 )

      This creates a curve similar to graph 2. SoundVolume = 1 means 100%, 0.5 means 50% etc.

      When Distance is 0, SoundVolume is 100%. When the distance increases, the SoundVolume decreases.

      This shouldn't be too hard to implement.

        1. Graph 1 - Minecraft Sounds.png
          Graph 1 - Minecraft Sounds.png
          12 kB
        2. Graph 2 - Real Life Sounds.png
          Graph 2 - Real Life Sounds.png
          12 kB
        3. MC-71552.mp4
          3.12 MB
        4. test.wav
          5.30 MB

            Unassigned Unassigned
            Partago Partago
            Votes:
            14 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: