How to play wav audio byte array via javascript/html5?
I figured out how to do what I described in my question and thought I should post it for the benefit of others. The code is below. I call playByteArray and pass it a byte array containing pcm wav data. window.onload = init; var context; // Audio context var buf; // Audio buffer function init() … Read more