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

Sounds randomly mute in 1.19.2 Forge #83

Closed riley-9054 closed 1 year ago

riley-9054 commented 1 year ago

Bug description Sometimes sounds will be silent when they're supposed to play

Steps to reproduce the issue I have no Idea what causes it, the best thing I can say to reproduce it is go into the nether and just play the game for a while.

Expected behavior The sounds play and I hear them.

Log files latest.log: https://gist.github.com/riley-9054/859a3ebc702c6822b9876ea68c633782 There is no crash report as the game did not crash, I closed it manually.

Versions

Other mods The only other mods I can think of that could affect this are Optifine, Infernal Expansion, Biomes O'Plenty, Gardens of the Dead, Immersive Weathering, or Better Block Sounds.

Screenshots (Optional) Video of the bug in action, it's not always this bad it seems to have "phases" if that makes sense: https://user-images.githubusercontent.com/117400609/207250789-e901afab-b3dd-4400-97a1-aa8806833842.mp4 Apologies if the video takes a while to load, I used the Xbox Game Bar to record it so the file size is quite large.

henkelmax commented 1 year ago

This seems to be a duplicate of #54 This especially happens in heavily modded environments with a lot of sounds played (Doesn't necessarily need to be heard by the player).

riley-9054 commented 1 year ago

Is there some way for you to fix it? Most people who play with this mod are going to play with a good number of other mods as well.

henkelmax commented 1 year ago

You can add sounds that are spammed too much that the sound engine can't handle it to the blacklist regex.

riley-9054 commented 1 year ago

Is there info anywhere on how the syntax of the blacklist regex works?

henkelmax commented 1 year ago

Its just a simple regex that matches the sound ids.

https://www.debuggex.com/ https://regex101.com/ These are some great tools for creating regexes.