Skip to content
This repository was archived by the owner on Jul 24, 2026. It is now read-only.

ExtendedNoteBlock r1.3.6

Choose a tag to compare

@atemukesu atemukesu released this 02 Dec 14:41
· 43 commits to main since this release

Fix: Prevent sound from cutting out on the final tick of a fadeOut period
The existing linear fade-out formula incorrectly calculated a volume of 0.0 on the last tick of the fade-out duration (when timeIntoFadeOut == fadeOutTicks), causing the sound to prematurely cut out one tick too early.

To fix this, the denominator in the fade-out progress calculation has been changed from fadeOutTicks to fadeOutTicks + 1. This ensures that the sound volume is attenuated smoothly towards the end but remains above 0.0 (e.g., 50% for a fadeOut=1 scenario) on the last active tick, preserving the full intended sound duration.