Supporting WASM environments would be pretty cool. HTML5 Audio is good, but I think that for the purposes of blocking until playback finishes that Web Audio would better.
However, I think there is no way to pass the audio data to JS other than to encode it in Base64 or pass an HTTP URL.
Supporting WASM environments would be pretty cool. HTML5 Audio is good, but I think that for the purposes of blocking until playback finishes that Web Audio would better.
However, I think there is no way to pass the audio data to JS other than to encode it in Base64 or pass an HTTP URL.