in reply to Re: Split MP3 file at silence
in thread Split MP3 file at silence
I'm trying and trying, but I don't get it.
First thank you for the hint with audacity. This tool had even the possibility to do a silence/noise recognition. So I was able to see my mp3 file graphically and how audacity was splitting it. Look here: bere.png. My problem with audacity was then that I could not find out how to save the relevant (signals) parts in different mp3 files.
Here my interpretation of the parameters I used in Audio::FindChunks
So here my code:
use strict; use warnings; use Audio::FindChunks; Audio::FindChunks->new(filename => 'bere.mp3', min_silence_sec => 0.4, min_signal_sec => 0.5, above_thres_window => 5)->split_file({verbose=> +1});
But in this case I only get one file as result which is going from 0 - 4.6 seconds.
To your other question to do it manually. This is not really possible for me. I want to write a conjugation/vocabulary trainer for me to learn the Italian language. I bought a SW which can create mp3 files out of a text file. But it is too much work for me to always give as input a text file with only one vocabulary. Because this tool has no command line or other possibilities I decided to enter a huge text file and then afterwards split the huge mp3 file at the silence points and then give them the name of the corresponding line in the text file.
At the end my goal is it to have a lot of vocabularies. So a correct splitting at silence points is at the moment my biggest problem.
Every other hint how I could do it is welcome. My favourite solution is of course perl. But I'd also be happy about every other way to solve it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Split MP3 file at silence
by chrestomanci (Priest) on Apr 26, 2011 at 20:15 UTC | |
by Dirk80 (Pilgrim) on Apr 27, 2011 at 20:40 UTC |