AiTechEye / xaenvironment

9 stars 4 forks source link

Many sounds effects are in stereo but they should be mono #34

Open Wuzzy2 opened 8 months ago

Wuzzy2 commented 8 months ago

The game contains a lot of sounds that are stereo but most of them need to be mono.

According to lua_api.md, Minetest requires all sounds that are played on a certain position to be in mono. This includes all sounds used for digging, footsteps, etc. If they are in stereo, these sounds will always play in full volume, no matter how far away the player is (unless if out of range).

The solution is to use mono sounds instead. Be careful with this because if you just convert the sounds, they will degrade in quality. So if you have the original uncompressed sound (WAV or similar), use that file instead as a basis. But if not, choose the highest quality.

Sounds for which you know they are not position-based (like the music tracks) do not need to be changed. Minetest allows them to be stereo as well.

ContentDB version: 2024-01-23

AiTechEye commented 8 months ago

ok thanks, i had no idea about that :D I guess that's the reason to you can hear footsteps from mobs whatever you are