Re: Split audio at silence into several files and remove all silence

Jeremy Nicoll - ml sox users <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
On 2019-05-18 04:33, Florian Zand via Sox-users wrote:
> Hi,
> 
> I want to split an audio file at silence into several files and remove
> all silence.
> 
> I found:
> 
> sox input.wav output.wav silence 1 X 0.1% 1 X 0.1% : newfile : restart
> Which creates perfect splits. However at the end of each output file
> there is still silence.

I've never used the "silence" effect, but a few minutes reading the
manual makes me curious.

- what are the "X"s in your command meant to do?

- did YOU read the manual section about "silence"?  If so, what
   happens when you try the method it describes for trimming silent
   periods from the end of a file?


If you try it, and it doesn't work, come back and ask again... and then
it might help if you also told us what version of sox you're using.

-- 
Jeremy Nicoll - my opinions are my own
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.