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

前端 未结 5 420
無奈伤痛
無奈伤痛 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条回答
  •  -上瘾入骨i
    2020-12-12 18:56

    What you really want is the mediaStream "Recording API", which is currently being worked on. Until that's available, I advise using emscriptem on C/C++ source, and consider running it in a webworker to avoid blocking the UI and other tabs.

提交回复
热议问题