필터 지우기
필터 지우기

Break audio file into separate matrices depending on silence breaks

조회 수: 2 (최근 30일)
Chris Matthews
Chris Matthews 2017년 10월 4일
댓글: Image Analyst 2017년 10월 4일
I have an audio file that has some speech like this: Hi (pause) How are you (pause)
Using wavread, I can sample this audio and transfer the sample data into a single matrix, however, I want to break it into 2 matrices as follows:
A= [data from hi]
B= [data from how are you]
Any ideas? Thanks!
  댓글 수: 2
Image Analyst
Image Analyst 2017년 10월 4일
You'd get more help if you attach your audio file. Basically, threshold the signal and throw out really short low signal stretches and keep only the longer silent areas, like a half second or whatever. Then use the indexed of those non-silent areas to crop them out. Very very easy if you have the Image Processing Toolbox (do you have that). I'll make you a demo if you need it and if you supply the audio file.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by