Filter löschen
Filter löschen

Break audio file into separate matrices depending on silence breaks

2 Ansichten (letzte 30 Tage)
Chris Matthews
Chris Matthews am 4 Okt. 2017
Kommentiert: Image Analyst am 4 Okt. 2017
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 Kommentare
Image Analyst
Image Analyst am 4 Okt. 2017
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by