I have quite a lot of samples of various drum machines. These are in a big, nested directory structure organized by machine, and are all in wav format. Some of them are recorded as 24 bit stereo for absolutely no valid reason.
What I'd like to do is run some kind of script that goes through the entire structure, picks out every sample and does this:
If: sample is 8-bit or 16-bit mono, don't touch it.
If: sample is 8-bit or 16-bit stereo, downmix to mono (or separate into L and R channels) but don't touch bitrate.
If: sample is >16 bits, convert to 16-bit (preferably using some nice shaping algorithm) and downmix to mono if necessary.
Any ideas how to do this? I can use Windows or Linux. Don't need anything fancy, some sort of command-line batch script would work fine.
Batch sample conversion
Re: Batch sample conversion
definitely sox + maybe soxi (to determine bit).
Re: Batch sample conversion
I've been using Awave for 10+ years...at least.
http://www.fmjsoft.com/awframe.html
If you use Adobe Audition (or even CEP..if anyone still does), it has a really good batch/processing system that is incredibly easy to setup.
http://www.fmjsoft.com/awframe.html
If you use Adobe Audition (or even CEP..if anyone still does), it has a really good batch/processing system that is incredibly easy to setup.