play back generated sounds
问题 I want to capture audio (in my case from getUserMedia ) and play it back. I'm able to push a bunch of AudioBuffers to an array like so: var recorder = audio_context.createJavaScriptNode(256, 2, 2); recorder.onaudioprocess = function(e) { recorded.push(e.inputBuffer.getChannelData(0)); // or just: // recorded.push(e.inputBuffer); }; recorder.connect(audio_context.destination); But then how do I play the buffers in the recorded array? A way to merge these into one buffer and play it with