3 ms·
There have been prior experiments to synthesize audio with javascript, and feed it into the <audio> tag via data-uri. http://ajaxian.com/archives/generating-an
by audionerd 17y ago
There have been prior experiments to synthesize audio with javascript, and feed it into the <audio> tag via data-uri.
http://ajaxian.com/archives/generating-and-playing-sound-in-javascript http://ajaxian.com/archives/generating-and-playing-sound-in-...
But I've never seen it done realtime like this! Very cool.
- dhbradshaw 17y agoI would love to see this become standard for a few big browsers. There are so many cool things that could be done that right now are impossible.
- Batsu 17y agoAre you pining for the days of embedded MIDI files? :)
- klipt 17y agoSpeaking of which, it would be neat if there were a way to play javascript generated MIDI without having to synthesize the instruments yourself. Although I'm guessing that would be difficult to make portable, unless Firefox shipped with its own synthesizer (FluidSynth + basic soundfont). Which would add considerable bloat.
- calcnerd256 17y agoor if the audio tag were designed differently