Effacer les filtres
Effacer les filtres

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

34 vues (au cours des 30 derniers jours)
Benjamin Colbert
Benjamin Colbert le 10 Sep 2019
Commenté : Walter Roberson le 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.

Réponses (1)

Star Strider
Star Strider le 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 commentaires
Star Strider
Star Strider le 11 Sep 2019
If you need to write the vertically concatenated sounds as a new file, use the audiowrite function.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by