Combine two audio blob recordings

蓝咒 提交于 2020-01-02 04:12:11

问题


I am using recorder.js to record two audio files on my web page, which then creates recordings as blobs.

Once I have these audio blobs I would then like to combine them both into one track to be played by another html5 audio player.

I've searched the internet but I can't seem to find any documentation on combining two blob files into one.

I've found how to concatenate one blob to the other but I'm wanting to merge the files at the beginning.

i.e. - sound 1 is singing and sound 2 is guitar.


回答1:


I made a similar attempt using recorder.js and it did not work out for me too. Even after downloading the concatenated audio file, the time duration displayed by the audio player remained as the time duration of the first audio blob, though the whole concatenated audio content was available. So after several changes and hair tearing moments I chose to concatenate using ffmpeg. Here is link to my repository (Audio-Recording-App)



来源:https://stackoverflow.com/questions/21761759/combine-two-audio-blob-recordings

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!