Matt Diamond’s web audio API: recorderjs and synthjs

The recorder works with the web audio API. There is an example which records audio input from the built in mic, writes it to a .wav file, and creates a link for download.

 

local version in tkzic/web-audio-api/Recorderjs-master/example_simple_exportwav.html