How do merge 2 Wav file into 1 wav file?

21 visualizaciones (últimos 30 días)
kuan ren chung
kuan ren chung el 2 de Sept. de 2019
Comentada: kuan ren chung el 2 de Sept. de 2019
So basically I want to merge 2 different type of audio file into one wav file, as i have Split my audio file into multiple frames and making changes to the individual frame and needed to put them back into 1 audio file again. But I only manage to combine both audio sound together. Any idea or suggestion? Thank.
  3 comentarios
kuan ren chung
kuan ren chung el 2 de Sept. de 2019
The audio I merge overlap each other. But I do not want it to overlap, instead adding on to it.
Rik
Rik el 2 de Sept. de 2019
What is your input data, what is your required output and what code did you try so far? do you end up with a 4xn array instead of a 2xn array? Do you have a method to determine which sounds overlap?

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 2 de Sept. de 2019
Just stitch them together
rebuilt_y = [frame1, frame2, frame3, frame4]
audiowrite(............
  1 comentario
kuan ren chung
kuan ren chung el 2 de Sept. de 2019
Thank, it work out fine. Was doing y=[frame1;frame2] previously.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Audio I/O and Waveform Generation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by