henkelmax / sound-physics-remastered

A Minecraft mod that provides realistic sound attenuation, reverberation, and absorption through blocks.
GNU General Public License v3.0
69 stars 22 forks source link

Zombie Noises #10

Closed Flugel3 closed 2 years ago

Flugel3 commented 2 years ago

Bug description So when I'm on the surface I can still hear zombie growls even if they are completely covered by many many blocks. I don't know if this is a bug or not but it is certainly very strange. I tend to keep my volume fairly high and it is extremely noticeable actually. It's very strange actually the zombie noises are so far away that it at first sounded just like an ominous wind which I thought was a feature until further investigation.

Steps to reproduce the issue

  1. Go to a 1.18 world, with the new generation as well as this mod (obviously)
  2. Make sure your volume is up so that you can notice
  3. Walk around to different areas that might have large caves underneath you
  4. Listen carefully

Expected behavior Normally I wouldn't expect to hear the zombies until I'm closer to them

Log files I'm not sure if providing log files would be useful here but let me know otherwise and I'll provide them of course.

Versions

Screenshots (Optional) Can't provide a screenshot of the sounds as far as I'm aware.

henkelmax commented 2 years ago

This mod does make very complex bounces of the sound. Please set "Render sound bounces" and "Render occlusion" in the debug config section. Sometimes you don't understand where sounds come from, since you don't see it. This should help you understanding it..

Flugel3 commented 2 years ago

I understand it better now I checked the config but didn't know this debug option was there. It's actually really cool to see the sounds and how they interact with the environment. But, I must say that there are very few places in my world where I cannot hear the distant low groans of zombies and this just seems a little strange to me. Even when there doesn't appear to be any caves nearby. This is an extremely minor issue though because it's only really noticeable with volume cranked up.

What's particularly strange though is that I can hear the distant zombie noises and not see any traced lines appear with the debug turned on so.

henkelmax commented 2 years ago

I will further investigate this issue.

henkelmax commented 2 years ago

Alright setting max_occlusion to 64 should solve your issue.

henkelmax commented 2 years ago

I also tweaked the default value of this option in the next version.

Flugel3 commented 2 years ago

Yeah that totally solved it. Thanks for your help you're awesome!