Quick test to try cross-fading tags on loop. Seems to be pretty easy to accomplish, but the tags have a bunch of issues, e.g. I couldn't get onload events to trigger, nor could I get them to play a gapless loop properly.
The only way to really make "gapless" work properly is to use a tool like Audacity and it's repeat -function to make a long enough audio file.
Feel free to use this code however you wish.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2017 Janne Enberg
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
This project has been made possible thanks to Cocreators and Lietu. You can help us continue our open source work by supporting us on Buy me a coffee.