Filter löschen
Filter löschen

How can I combine multiple wav files into a single new wav file

34 Ansichten (letzte 30 Tage)
Benjamin Colbert
Benjamin Colbert am 10 Sep. 2019
Kommentiert: Walter Roberson am 11 Sep. 2019
I have a folder with six 1-minute wav files. I want to have a script that will combine all wav files in a folder into a new 6-minute wav file. I'm super new at matlab and don't know where to start.

Antworten (1)

Star Strider
Star Strider am 10 Sep. 2019
Use audioread to read them, then vertically concatenate them (assuming they all have the same numbers of channels=columns) using the cat function.
  6 Kommentare
Star Strider
Star Strider am 11 Sep. 2019
If you need to write the vertically concatenated sounds as a new file, use the audiowrite function.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by