Re: [Gentoo] : Re: [gentoo-user] [OT] splitting audio file at points of silence ?
On 06/14 01:35, elu6-u...@spamex.com wrote: > [snipped] > > 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. > > [snipped] > > 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. > > [snipped] > > Jun 14, 2020, 04:43 by a...@suugaku.co.uk: > > 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. > > [snipped] > > The package media-sound/mp3splt has use flag "flac". If set mp3splt can > directly read and write flac files. > > I have used mp3splt to successfully split podcast files for burning to a CD. > It has many options that allow tuning of the split points. I found it a pain > to setup, but now that setup in complete it works reliably. > > Tom Naujokas (elu6-u259 at spamex.com) > Hi Tom, thanks for the info! :) In the meanwhile I have used Audacity...it has a "Sound finder" and "Silence finder" tool under the "Analyse Tab", which has some very handy parameters. The result will be visualised before any split file is written and can be manually corrected per segment and to each segment can be listened separately beforhand. Cheers! Meino
Re: [Gentoo] : Re: [gentoo-user] [OT] splitting audio file at points of silence ?
[snipped] 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. [snipped] 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. [snipped] Jun 14, 2020, 04:43 by a...@suugaku.co.uk: 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. [snipped] The package media-sound/mp3splt has use flag "flac". If set mp3splt can directly read and write flac files. I have used mp3splt to successfully split podcast files for burning to a CD. It has many options that allow tuning of the split points. I found it a pain to setup, but now that setup in complete it works reliably. Tom Naujokas (elu6-u259 at spamex.com)
Re: [gentoo-user] [OT] splitting audio file at points of silence ?
On 06/14 11:45, David Haller wrote: > Hello, > > On Sun, 14 Jun 2020, tu...@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
Re: [gentoo-user] [OT] splitting audio file at points of silence ?
Hello, On Sun, 14 Jun 2020, tu...@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
Re: [gentoo-user] [OT] splitting audio file at points of silence ?
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, tu...@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 >
Re: [gentoo-user] [OT] splitting audio file at points of silence ?
On Sun, Jun 14, 2020 at 10:19:05AM +0200, tu...@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 signature.asc Description: PGP signature
Re: [gentoo-user] [OT] splitting audio file at points of silence ?
tu...@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=irssi#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 :-) :-)
[gentoo-user] [OT] splitting audio file at points of silence ?
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