That is serious coolness.
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.
Now is there HTML5 Tracker?