For the purpose of silence removal of captured sound, we used the algorithm specified in
"A New Silence Removal and Endpoint Detection Algorithm for Speech and Speaker Recognition Applications"
Our actual system was in JAVA but we verified the performance of this algorithm in MATLAB.
Inputs and Output
|Before silence removal|
|After automatic silence removal|
It first records sound for 5 seconds and removes the silence and then plays back.