I’ve recently discovered some (maybe all the problems) I’ve been having with both the Griffin iTalk on my iPod or ParPro on my Treo 600 have to do with my post-processing the output WAV files with Audacity. If I convert them directly with lame -b 64 -m m file.wav file.mp3, then the resulting MP3 sounds great, even without applying any effects (like equalization, compression or normalization). Or maybe because I’m not applying any effects.
So, now I need a commandline tool that can essentially append several WAV or MP3 files to each other (I assume I’ll have to make sure that they have the same bit rate and sample rate first, and I can figure this out independently) to assemble the show from pre-recorded bumpers and the newly recorded show content. I’ve found plenty of graphical
tools – but that’s a challenge to script, of course.
I want to do something conceptually similar to
$ cat intro.wav raw_show.wav trailer.wav >final_show.wav
$ lame -b 64 -m m final_show.wav final_show.mp3
$ id3 -T $SHOWNUMBER -t $TITLE -A $SHOWNAME
-c nothingtodeclare.com -a “me”
-y $YEAR -g 101 final_show.mp3
I’ve played around with lame, mp3wrap and sox on linux but I can’t quite figure out the right magic incantation.
Is OGG the answer here as an intermediate file format? I’ve seen a note somewhere that you can concatenate OGG files with cat and the result works correctly. But if that’s so, then why does a tool like ogmcat or ogmerger need to exist?