1

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 like to concatenate them into one track.

How can I do it?

2
  • npmjs.com/package/audioconcat is node package used for audio concat Commented Jul 8, 2018 at 15:55
  • @RobertRowntree I need pure JavaScript Commented Jul 9, 2018 at 5:59

2 Answers 2

2

if you save the raw PCM of the orig clips from the callbacks on the buffer of the mic, i think you can just provide array of bufferd Clips to a new blob constructor.

 let recordedBlob = new Blob($ArrBuff[clip1,clip2], { type: "audio/*" }); recording.src = URL.createObjectURL(recordedBlob); 
Sign up to request clarification or add additional context in comments.

1 Comment

It is important the order? I have a big file (13 chunks) and a socket, and the order could be incorrect
-1

if you have them in audio files such as wav or mp3 etc., you can use Audacity to edit them and export however you want. or use ffmpeg to concat them together. I would use Audacity because it makes it easier to edit the material.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.