That's awesome. I spent years on fasttracker in the late 90s. Some time ago I uploaded two xm tunes, converted to mp3, to here: https://www.soundcloud.com/derFunk
I used to have a Gravis Ultrasound Soundcard with 4MB of RAM attached. I did over 300 tracks and was a member of a group called Stoned Brain Recordz. If I wouldn't have switched to coding, I would still make music today :)
Could you wrap all this code to have something like <audio> tag playing XMs? Having same API/events as <audio>? In particular I would like to see playbackRate.
I was working on music game and tempo effect was considered. I was wondering at a time if usage of tracker modules would give advantage. Especially ease of changing tempo and maybe automatic conversion of beats to levels.
Non-working (UI prototype only), but here's something I put together a while ago to test my homegrown JS framework[1] with the intent of adding an audio engine someday: