Spent hours on fixing the audible loop gap which occurs when using MP3 + the native

After realizing that the LAME MP3 encoder introduces (like all MP3 encoders) a small gap at the start and the end of each file, which makes looping them without an audible gap impossible, I needed to come up with a different solution than just looping them using the native HTML5 loop functionality. I didn't want to switch to OGG/M4A, as that would just introduce more complexity, and the native