Open MPCTgit opened 2 years ago
Better locational audio could also be achieved here.
Differing delays between sound reaching your left/right ear are crucial to understanding locational audio.
Since this would add delays to sounds, why not separate the delays into 2 channels, for that much more realism... (rhetorical question)
OpenAL is challenging to work with, but some solution here will likely be reached.
To clarify, this issue is being generalized due to implementation details (and physics, really) to include echo, too.
This feature would delay sound of lightning in-game, depending of how far you are, to create a more realistic experience for thunderstorms. It should not be to significant as sound in the real world travels about 340 meters in a second (so 340 blocks) and the simulation distance is usually (for single player) 12 chunks which is 192 blocks. There could also be a config to toggle this on/off or a multiplier for people who want to increase the time or decrease it.
An alternative could also be added for TNT because it is another loud sound source, but this could create a lot of lag for huge amounts of TNT exploding at the same time.