There is currently no own way to do this, but as Max said in the comment above, Recorderjs does this essentially (it does not bind to the destination, but is a ScriptProcessorNode to which you can connect other nodes, and its record is recorded. I built on Recorderjs to make a simple sound recording file - https://github.com/cwilso/AudioRecorder .
source share