8.3 MB of WAV down to 768 KB, on a file that downloads on every page load before the player has decided to play anything. loopBed takes the full filename now, because the beds are a mix of .wav and .m4a — fadeBed's key has to match it exactly, extension included, or a duck silently no-ops. It also takes an explicit loopEnd, and the theme passes 48. AAC pads its last packet, so Chrome decodes this 48.000s master to a 48.0174s buffer: 17ms of silence spliced in at every seam, once a loop, on the title screen. Trimming the seam is what keeps the loop seamless. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
750 KiB
750 KiB