AudioSilenceDelete
Version 1.0.0 (1.88 KB) by
Jim Hickel
Analyzes audio file and will remove the silence and concatenate all the sound into one shorter file.
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!
Cite As
Jim Hickel (2024). AudioSilenceDelete (https://www.mathworks.com/matlabcentral/fileexchange/113315-audiosilencedelete), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: Silence removal in speech signals
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |