Web applications seem to become more and more popular, and games - based on HTML5 - are no exceptions. So, I was interested to give it a try: create a small game, based on HTML5+Canvas+JavaScript. My previous experiences were based on C++, PHP, Lua, HTML and some other languages, but barely JavaScript. So, one reason for me trying web development is learning JavaScript, especially based on browsers and using web APIs. So, I've got a small canvas-based Jump'n Run working quite quickly.
Then, I was thinking about sound. To be specific: music. There are various possibilities: Use an
I've already seen some attempts on the web playing MOD files, and a few of them even seem quite good. But as far, as I could see, they all use ported rendering of the audio output in JavaScript, which could be quite CPU instensive. Even though, if there's already one really working with the nodes provided by the Web Audio API, I'll keep on this project for various reasons, one of them being the learning effect. And, a MOD player based on nodes, instead of rendering the output all in JavaScript has an advantage: although, it is not as accurate as rendering all by script, it is much, much less CPU intensive and should not slow down any CPU intensive application.
I hope a few people will find my project and find it useful. You may give me feedback to my project or use WebMod in your project for free. You are also allowed to modify WebMod for your personal needs, it's published under the zlib license.