* [gentoo-user] [OT] splitting audio file at points of silence ? @ 2020-06-14 8:19 tuxic 2020-06-14 8:38 ` Dale ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: tuxic @ 2020-06-14 8:19 UTC (permalink / raw To: Gentoo Hi, 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. The input audio is a flac file and I don't want to convert this into any lossy audio format to preserve as much as possible of the signal. Where can I get this program ? or How can I split an audio file at points of defineable level of "silence" into several audio files in one go? Cheers! Meino ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] [OT] splitting audio file at points of silence ? 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:45 ` David Haller 2 siblings, 0 replies; 6+ messages in thread From: Dale @ 2020-06-14 8:38 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1306 bytes --] tuxic@posteo.de wrote: > Hi, > > 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. > > The input audio is a flac file and I don't want to convert this into > any lossy audio format to preserve as much as possible of the signal. > > Where can I get this program ? > > or > > How can I split an audio file at points of defineable > level of "silence" into several audio files in one go? > > > Cheers! > Meino > It doesn't look good. Either it isn't available or no one who has it installed uses pfl. It finds this but I don't think it is what you want. http://www.portagefilelist.de/site/query/listPackageVersions/?category=net-irc&package=irssi&do#result Mostly replying so that you can check out the pfl tool. It helps sometimes to find out where a command comes from. It's handy at times. Dale :-) :-) [-- Attachment #2: Type: text/html, Size: 2059 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] [OT] splitting audio file at points of silence ? 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 2 siblings, 1 reply; 6+ messages in thread From: Ashley Dixon @ 2020-06-14 8:43 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1514 bytes --] On Sun, Jun 14, 2020 at 10:19:05AM +0200, tuxic@posteo.de wrote: > Searching the internet for "split audio at silence" and similiar > gives me this link > https://unix.stackexchange.com/questions/318164/ > > 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. There is no binary in Portage providing the binary "silence": $ e-file silence * net-irc/irssi Available Versions: 1.0.0 1.0.7 1.2.1 1.2.2 Homepage: https://irssi.org/ Description: A modular textUI IRC client with IPv6 support Matched Files: /usr/share/irssi/help/silence; However, there is `mp3splt`, provided in the package `media-sound/mp3splt`. It's described in the question provided as a comment to your UNIX S.E.\ link. [1] > The input audio is a flac file and I don't want to convert this into > any lossy audio format to preserve as much as possible of the signal. mp3splt primarily works with mp3s, but can also support ogg, which can be a container format for flac. I've never used it myself, but it looks promising, providing you are OK with placing your flacs inside an ogg. Hope this helps. [1] https://askubuntu.com/questions/27574 -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] [OT] splitting audio file at points of silence ? 2020-06-14 8:43 ` Ashley Dixon @ 2020-06-14 9:42 ` tuxic 0 siblings, 0 replies; 6+ messages in thread From: tuxic @ 2020-06-14 9:42 UTC (permalink / raw To: gentoo-user Hi Dale, hi Ashley, thanks for all the help and informations! :) In the meanwhile I found another way to split that file "as is" (flac remains flac) with audacity. Audacity contains a "sound finder" and "silence finder" analysis tool, with which it is possible to set marks/regions in the file, which mark sound and silence. The tools are configurable. This way one can tinker with the parameters until a near perfect match as acchieved and then write out the files with File->Export->Multiple. The visual representation of sound and silence is by far better then test-listening all created files after each iteration with any cli solution. Cheers! Meino On 06/14 09:43, Ashley Dixon wrote: > On Sun, Jun 14, 2020 at 10:19:05AM +0200, tuxic@posteo.de wrote: > > Searching the internet for "split audio at silence" and similiar > > gives me this link > > https://unix.stackexchange.com/questions/318164/ > > > > 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. > > There is no binary in Portage providing the binary "silence": > > $ e-file silence > > * net-irc/irssi > Available Versions: 1.0.0 1.0.7 1.2.1 1.2.2 > Homepage: https://irssi.org/ > Description: A modular textUI IRC client with IPv6 > support > Matched Files: /usr/share/irssi/help/silence; > > However, there is `mp3splt`, provided in the package `media-sound/mp3splt`. > It's described in the question provided as a comment to your UNIX S.E.\ link. > [1] > > > The input audio is a flac file and I don't want to convert this into > > any lossy audio format to preserve as much as possible of the signal. > > mp3splt primarily works with mp3s, but can also support ogg, which can be a > container format for flac. I've never used it myself, but it looks promising, > providing you are OK with placing your flacs inside an ogg. > > Hope this helps. > > [1] https://askubuntu.com/questions/27574 > > -- > > Ashley Dixon > suugaku.co.uk > > 2A9A 4117 > DA96 D18A > 8A7B B0D2 > A30E BF25 > F290 A8AA > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] [OT] splitting audio file at points of silence ? 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:45 ` David Haller 2020-06-14 9:55 ` tuxic 2 siblings, 1 reply; 6+ messages in thread From: David Haller @ 2020-06-14 9:45 UTC (permalink / raw To: gentoo-user 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] [OT] splitting audio file at points of silence ? 2020-06-14 9:45 ` David Haller @ 2020-06-14 9:55 ` tuxic 0 siblings, 0 replies; 6+ messages in thread From: tuxic @ 2020-06-14 9:55 UTC (permalink / raw To: gentoo-user On 06/14 11:45, David Haller wrote: > 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 > Hi dnh, Oh......<"hand against my forhand"-effect> For me: Lesson 1: Reading ;) Thanks a lot for your help! Cheers! Meino ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-06-14 9:55 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2020-06-14 9:55 ` tuxic
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox