How to record and playback within browser (html 5 audio)
问题 I'm building a simple html component that will allow a user to record a message and then immediately play it back. The aim is to allow them to discard the recording if they don't like it before saving the recording. The messages will be less than 60 seconds. So I have a UI that allows me to record audio into an array of AudioBuffers. I'm now trying to push those buffers back into a second audio control so a user can play the recording back. Here is a codepen. This is the core playback