Am listening to audio for practicing dutch comprehension, which essentially consists of a collection of short sentences on repeat. However this audio is available as a single track and for the purpose of shadowing, I wanted individual mp3’s.
Enter mp3splt
Install it using brew
brew install mp3splt
Auto detect silence and split
mp3splt -s -d output_folder audio.mp3
This detects the average silence level and uses it to split.
Params:
-s- Split with auto detection-d- Output directory
Split at specified silence volume
mp3splt -s -p th=-40 audio.mp3
Params:
-s- Split with parameters specified using-p-p- Input parameters for-ssplit actionth- Silence threshold indB
Split and remove silence
mp3splt -s -p rm audio.mp3
Params:
rm- Used in conjunction with-sand-p. Indicates silence is to be removed from the output.