필터 지우기
필터 지우기

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

조회 수: 34 (최근 30일)
Benjamin Colbert
Benjamin Colbert 2019년 9월 10일
댓글: Walter Roberson 2019년 9월 11일
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.

답변 (1개)

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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by