- From: Grant Galitz <grantgalitz@gmail.com>
- Date: Fri, 15 Apr 2011 20:35:03 -0400
- To: public-audio@w3.org
Received on Saturday, 16 April 2011 00:35:30 UTC
For anyone interested in this topic: It can be done in JavaScript with Web Audio completely without the use of plugins, you just have to implement MIDI for yourself (re-invent the wheel kinda). You just have to do something similar to what I did for the JS GBC emulator audio. You have to make a javascriptnode for web audio, keep an audio buffer JS-side, manage the buffer correctly, and create an audio sample generator. You just have to make your own audio sample generator if you're gonna use XAudioJS, since I take care of the rest behind the scenes in the github-based js library. Seriously, listen closely to http://www.youtube.com/watch?v=Kr_Xob5BoZs and you will notice it sounds all MIDI-ish. That's because the audio hardware emulated is basically Nintendo's take on MIDI kind of.
Received on Saturday, 16 April 2011 00:35:30 UTC