我无法通过网络搜索找到任何东西,但是有没有计划使API生成音频块以便在HTML5 <audio>
标记中播放?使用Javascript创建音频<audio>
编辑:这是例如::
PSEUDOCODE::
var music = new Song([Array of hertz levels or notes]);
var box = document.createElement('audio');
document.body.appendChild(box);
box.src = music.convert();
box.play();
基于Web Audio API最近的一篇文章:http://www.html5rocks.com/en/tutorials/webaudio/games/ – mwcz 2012-03-21 03:00:57