Azzera filtri
Azzera filtri

Break audio file into separate matrices depending on silence breaks

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
Image Analyst
Image Analyst il 4 Ott 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.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by