Posted At : November 25, 2009 11:11 AM
However, this time I finally managed to get past all the hurdles and jump through all the hoops to make this work.
Scenario is a follows. Audio file is comes in in alaw or ulaw format and we want to trim any silence before and after it.
First step is to convert it from alaw to pcm encoded wav file as SOX has issues filtering silence in alaw files
Then we do the trimming in one fell swoop.
A huge thanks to this article for giving such a thorough overview of the how silence detection works in sox.
Too easy, when you know how :-)
0 Comments