public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: gentoo@dhaller.de (David Haller)
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [OT] splitting audio file at points of silence ?
Date: Sun, 14 Jun 2020 11:45:30 +0200	[thread overview]
Message-ID: <20200614094530.u6i656rdzxj6tdkz@grusum.endjinn.de> (raw)
In-Reply-To: <20200614081905.tzrz7qsrn5ek4ak4@solfire>

Hello,

On Sun, 14 Jun 2020, tuxic@posteo.de wrote:
>I want to split an audio file containing crow calls at points
>where no crow call is. The "silence" in between is not exactly
>"silence" but some low level noise.
>
>Searching the internet for "split audio at silence" and similiar
>gives me this link
>https://unix.stackexchange.com/questions/318164/sox-split-audio-on-silence-but-keep-silence
>
>which uses a program called "silence" to detect the silence.
>
>Unfortunately I can't figure out, what package contains that program
>or from where I can download that program.

You need 'media-sound/sox' and then use the silence effect. Note that
it is _one_ command on _one_line in that answer on stackexchange

sox -V3 audiobook.mp3 audiobook_part_.mp3 silence \
    1 0.5 0.1% 1 0.5 0.1% : newfile : restart

See 'man 7 soxeffect'

HTH,
-dnh

-- 
Ich glaube aber nicht, dass der DDR Ram hat. Er hat seinen Rechner doch erst
vor einem Jahr gekauft! Die werden Ihm da doch nicht uralt-Speicherbausteine
hereingesteckt haben. Maximal kann er also "Ex-DDR"-Speicher haben (Sprich
Infineon, denn die Produzieren ja auch in Dresden ...).    -- Konrad Neitzel


  parent reply	other threads:[~2020-06-14  9:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-14  8:19 [gentoo-user] [OT] splitting audio file at points of silence ? tuxic
2020-06-14  8:38 ` Dale
2020-06-14  8:43 ` Ashley Dixon
2020-06-14  9:42   ` tuxic
2020-06-14  9:45 ` David Haller [this message]
2020-06-14  9:55   ` tuxic

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-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200614094530.u6i656rdzxj6tdkz@grusum.endjinn.de \
    --to=gentoo@dhaller.de \
    --cc=gentoo-user@lists.gentoo.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox