I've downloaded the Mp3Split utility with Homebrew.
I would like Hazel to take MP3 files from Finder folder and automatically strip silence from them.
My understanding is this command is where to start using Mp3Splt, but I get an error in Hazel.
mp3splt -s f.mp3 or mp3splt -s -p th=-50,nt=10 f.mp3
I've used the shell script feature to convert to MP3 using this script.
- Code: Select all
for f in "$@"
do
/usr/local/bin/lame -V 4 "$f"
done
Being a novice, I tried this, but I wasn't surprised it didn't work:
- Code: Select all
for f in "$@"
do
mp3splt -s f.mp3 or mp3splt -s -p th=-50,nt=10 f.mp3
done
Would anyone be willing to tell me what code to use? And maybe, if you have time, one or two points on why it works?
Thanks in advance. Would love to understand this stuff.