This was originally developed to analyze LiveATC files and eliminate the silence between transmissions. The raw audio file is read and plotted vs. time. The program will step through in 1 second increments analyzing each chunk of the file. If the max signal in that section is over a threshold it will save that chunk to a new variable. The loop will work through the entire file and upon completion, write all of the sound snippets to one file.
The current technique is a bit slow and basically uses brute force. Looking at the file by audio spectrum is possible but you need the Signal Analyzer license. For short files, this is the cheapest way to go. Have tested on 30min files and works well. Will also analyze multi-channel files, breaking them down into individual .wav files.
Enjoy!
引用格式
Jim Hickel (2024). AudioSilenceDelete (https://www.mathworks.com/matlabcentral/fileexchange/113315-audiosilencedelete), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2022a
兼容任何版本
平台兼容性
Windows macOS Linux标签
致谢
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |