Hello all,
I've created a new website; msxmusic.
This is hosting some things I put together, which is using the amazing work done by Multimedia Mike. He took the GME (Game Music Emu) and used Emscripten to compile it to Javascript. Emscripten is a LLVM extension created to be able to compile C/C++ code to Javascript with a performance penalty of about 50% compared to native code. He then used the Webaudio API to play the stuff. The result is the possibility to use the GME on a browser on all platforms that support Javascript! The GME has the ability to play KSS files, which means MSX music too. It works fine on an Android phone as well! :) :)
It's not perfect and I have things left to do:
- FMPac music doesn't seem to work. This is correct behaviour it seems; the information about the GME 0.6.0 says it won't support it. However; I am able to play FMPac music using a tool called Audio Overload. This tool is based also on the GME, at least that's what the GME page says. There's a patch available for GME 0.5.2 to support the FMPac chip; the YM2413. However, the JS engine is based on 0.6.0, and I won't be able to apply this patch, the files to be patch are way to different between the versions.
- Also, the music from SD Snatcher is sounding all weird, Audio Overload doesn't have that issue. Does anyone have any tips on this? I did send an email to the creator of the software to find out what he's using.
- A different site for mobile users is coming.
- I only tested with Chrome (on my phone too).
- Songs will loop forever, going to the next one is always manually. This will be fixed.
- I will add some more Konami games.
Hope you like it!
PS. Compiling OpenMSX with Emscripten...?