Batch split at silence and interval
Posted: Fri Sep 11, 2015 5:56 pm
Hi,
I am trying to split a huge number of files (more than 100) each into a set of small mp3 file. Thus for an app I am building that will download those files and rebuild thwm on thw device.
I tried several tools (mp3splitter from pristol, cool mp3 cutter and mp3 splitgtk) each had it's own shortcomings or bugs.
I am trying to cut each file at silence point of 2sec and in a way that each chunk is at least 2 minute long. So silence points within 2minutes after previous silence will be disregarded. Reason I am using 2sec silence is sothat the rebuild of the file from the chunks will not be noticeable to the listener. Reason for the 2min chunk length is to reach optimal number of mp3 chunks per mp3 original (less than 2min interval will generate huge number of files per original)
I resorted to audacity and found I could use silence finder to locate silnce points. But as you cam guess they will be numerous. Mp3splitter gtk had option to limit minimum length of a split.
I could also insert the interval labels (at 2 min) ; but the follow on work to delete unwanted labels is too laborious. Is there a way (or a trick) to introduce silence labeling with interval boundaries in audacity?
I am trying to split a huge number of files (more than 100) each into a set of small mp3 file. Thus for an app I am building that will download those files and rebuild thwm on thw device.
I tried several tools (mp3splitter from pristol, cool mp3 cutter and mp3 splitgtk) each had it's own shortcomings or bugs.
I am trying to cut each file at silence point of 2sec and in a way that each chunk is at least 2 minute long. So silence points within 2minutes after previous silence will be disregarded. Reason I am using 2sec silence is sothat the rebuild of the file from the chunks will not be noticeable to the listener. Reason for the 2min chunk length is to reach optimal number of mp3 chunks per mp3 original (less than 2min interval will generate huge number of files per original)
I resorted to audacity and found I could use silence finder to locate silnce points. But as you cam guess they will be numerous. Mp3splitter gtk had option to limit minimum length of a split.
I could also insert the interval labels (at 2 min) ; but the follow on work to delete unwanted labels is too laborious. Is there a way (or a trick) to introduce silence labeling with interval boundaries in audacity?