Trying to split on silence but losing content

Patrick <[email protected]> Sat, 30 Oct 2021 15:21:52 -0400
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
Hi Everyone

Thanks to everyone involved with this extremely powerful command.

Today it is a little too powerful for me and I need help.

I am good at learning foreign languages in a text format but I am not
very good with listening comprehension, I want to improve this.

I would like to take 10 minutes of audio and split it on silence into
numerous audio files. I am then hoping to use a "for loop" to repeat
these split sections.

If the audio was 001.wav 002.wav 003.wav, I want to concatenate ten
001.wav files together then ten 002.wav files etc.

I ran this command:

sox audio.wav out.wav silence   1 0.5 5%    1 0.5 5% : newfile : restart

It splits fine but if I concatenate the results back together to check
for lost sound, I get about 15 seconds of audio from a 10 minute audio file.

Does anyone know why I am losing content? Is there a better set of
command arguments to do this?

Thanks for reading-Patrick




_______________________________________________
Sox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users