Re: [ecasound] triming silence in sound files

From: Louis-David Mitterrand <vindex@email-addr-hidden>
Date: Tue Jun 14 2005 - 10:13:34 EEST

On Tue, Jun 14, 2005 at 09:58:53AM +0300, Kai Vehmanen wrote:
> On Fri, 10 Jun 2005, Louis-David Mitterrand wrote:
> >I have a bunch of .wav files I have recorded for our (open-source) phone
> >system's voicemail.
> [...]
> >How can I use ecasoud to remove (quasi) silence at the start and end of
> >these files?
> ecasound -i foo.wav -o foo-cropped.wav -ge:0.5,0.5,0
> See ecasound(1) for more info about the -ge operator. You probably need to
> tune the first two parameters (0.5% example) to get optimal results.

Yes, after looking through the examples I found that operator, and
indeed it does what I am looking for. However if a file has some silence
embedded (a sentence with several words) it will be truncated at the
first silence, which is expected behavior. So I had to use "-ge:1,0" and
forego end trimming.

To effectively trim the end silence, one could maybe process the file in
reverse with that same operator? Or some other trick?


If at first you don't succeed, redefine success.
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display:
Ecasound-list mailing list
Received on Tue Jun 14 12:15:08 2005

This archive was generated by hypermail 2.1.8 : Tue Jun 14 2005 - 12:15:08 EEST