* Split audio at silence into several files and remove all silence
@ 2019-05-18 3:33 Florian Zand via Sox-users
2019-05-18 10:37 ` Mikko Olkkonen
2019-05-18 10:56 ` Jeremy Nicoll - ml sox users
0 siblings, 2 replies; 3+ messages in thread
From: Florian Zand via Sox-users @ 2019-05-18 3:33 UTC (permalink / raw)
To: sox-users; +Cc: Florian Zand
[-- Attachment #1.1: Type: text/plain, Size: 312 bytes --]
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.
Thanks for the help!
Florian Zand
[-- Attachment #1.2: Type: text/html, Size: 3022 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
[-- Attachment #3: Type: text/plain, Size: 158 bytes --]
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Split audio at silence into several files and remove all silence
2019-05-18 3:33 Split audio at silence into several files and remove all silence Florian Zand via Sox-users
@ 2019-05-18 10:37 ` Mikko Olkkonen
2019-05-18 10:56 ` Jeremy Nicoll - ml sox users
1 sibling, 0 replies; 3+ messages in thread
From: Mikko Olkkonen @ 2019-05-18 10:37 UTC (permalink / raw)
To: sox-users
[-- Attachment #1.1: Type: text/plain, Size: 921 bytes --]
Hi, In my case, this effect removes the silence from the end as well:
silence 1 1 0.1% 1 1 0.1% reverse silence 1 1 0.1% 1 1 0.1% reverse :
newfile : restart
By the way, how much silence you have at the end of each output file when
using your version of the effect (=without using the reversing trick above)?
regards, Mikko
On Sat, May 18, 2019 at 6:34 AM Florian Zand via Sox-users <
sox-users@lists.sourceforge.net> 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.
>
> Thanks for the help!
>
> Florian Zand
> _______________________________________________
> Sox-users mailing list
> Sox-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users
>
[-- Attachment #1.2: Type: text/html, Size: 3445 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
[-- Attachment #3: Type: text/plain, Size: 158 bytes --]
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Split audio at silence into several files and remove all silence
2019-05-18 3:33 Split audio at silence into several files and remove all silence Florian Zand via Sox-users
2019-05-18 10:37 ` Mikko Olkkonen
@ 2019-05-18 10:56 ` Jeremy Nicoll - ml sox users
1 sibling, 0 replies; 3+ messages in thread
From: Jeremy Nicoll - ml sox users @ 2019-05-18 10:56 UTC (permalink / raw)
To: sox-users
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
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-05-18 11:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-18 3:33 Split audio at silence into several files and remove all silence Florian Zand via Sox-users
2019-05-18 10:37 ` Mikko Olkkonen
2019-05-18 10:56 ` Jeremy Nicoll - ml sox users
sox-users@lists.sourceforge.net unofficial mirror
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://public-inbox.org/sox-users
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V1 sox-users sox-users/ https://public-inbox.org/sox-users \
sox-users@lists.sourceforge.net
public-inbox-index sox-users
Example config snippet for mirrors.
Newsgroups are available over NNTP:
nntp://news.public-inbox.org/inbox.comp.audio.sox
nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
nntp://news.gmane.io/gmane.comp.audio.sox
note: .onion URLs require Tor: https://www.torproject.org/
code repositories for the project(s) associated with this inbox:
https://80x24.org/mirrors/sox.git
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git