resounding icon indicating copy to clipboard operation
resounding copied to clipboard

Sound delay(s)

Open MPCTgit opened this issue 2 years ago • 2 comments

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.

MPCTgit avatar Mar 09 '22 20:03 MPCTgit

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.

mikenrafter avatar Apr 05 '23 16:04 mikenrafter

To clarify, this issue is being generalized due to implementation details (and physics, really) to include echo, too.

mikenrafter avatar Jun 17 '23 06:06 mikenrafter