Converting WAV to any compressed audio format in client-side JavaScript

前端 未结 5 428
無奈伤痛
無奈伤痛 2020-12-12 18:00

I am recording audio from getUserMedia({audio:true}); in the browser using Recorder.js and then exporting it as a WAV file because that\'s the only option the l

5条回答
  •  情话喂你
    2020-12-12 18:57

    I've made an audio recorder that records to mp3 directly from the browser combining RecorderJS and libmp3lame.js

    You can find the gitHub project here: https://github.com/nusofthq/Recordmp3js

    and a more detailed explanation of the implementation: http://nusofthq.com/blog/recording-mp3-using-only-html5-and-javascript-recordmp3-js/

提交回复
热议问题