djpadbit / Sound-Physics

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

[1.12] Low pass filter doesn't update #70

Open Enlight3ned opened 3 years ago

Enlight3ned commented 3 years ago

When you go behind blocks, I assume that sounds from the other side should get "muffled". There is nothing wrong with the actual effect but it only updates when you esc out to the options and back in. Is this intentional or a bug?

This is with the latest version

EDIT: Seems to only affect Immersive Engineering multiblocks EDIT 2: Only affects IE Multiblocks that have continuous sound (ie. Crusher)

djpadbit commented 3 years ago

It's a byproduct of how Sound Physics works, it only evaluates the environment when the sound starts playing, so it's fine for relatively short sounds but for looping sounds it's not great. I added at some point a feature that continued to evaluate the environment but it was badly implemented so I removed it but I'm planning to reimplement it in a better way.