I am asking because I couldn\'t find the answer anywhere. I have successfully implemented RecorderJS in order to record microphone input in JS. However, the recorded file is WAV
To record mp3 using javascript without any other framework using a web worker, you can use this project: https://github.com/nusofthq/Recordmp3js which is also very well explained here:
http://audior.ec/blog/recording-mp3-using-only-html5-and-javascript-recordmp3-js/
With this, it's also possible to write to a .mp3 file and to make it downloadable.