From: Mikko Olkkonen <molkko@gmail.com>
To: sox-users@lists.sourceforge.net
Subject: Re: Split audio at silence into several files and remove all silence
Date: Sat, 18 May 2019 13:37:21 +0300 [thread overview]
Message-ID: <CANWtmUBdFCnPk1eZDm9MSNs-2Y82Ac2sxoeMkXVaMHJW6dVakQ@mail.gmail.com> (raw)
In-Reply-To: <FDFD19C4-9B01-465D-8A4E-90E99BBF7C94@icloud.com>
[-- 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
next prev parent reply other threads:[~2019-05-18 10:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2019-05-18 10:56 ` Jeremy Nicoll - ml sox users
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.sourceforge.net/lists/listinfo/sox-users
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANWtmUBdFCnPk1eZDm9MSNs-2Y82Ac2sxoeMkXVaMHJW6dVakQ@mail.gmail.com \
--to=sox-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/sox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).