Saturday, March 2, 2013

RoX ur SoX

As mentioned in my last post, it is indeed possible to convert between sample rates. But there is some loss of quality involved, so if you need to convert your audio between two rates you better have the best tools available if you want the best quality results. So after a colossal amount of sample rate nerdery, and close study of these graphs:

http://src.infinitewave.ca/

I have determined the best overall resampling algorithim is SoX 14.4 Very High Quality, intermediate phase. The binaries and windows .exe can be found here:

http://sourceforge.net/projects/sox/files/sox/

But be warned, it's command line! However worry not, I will provide some example commands, based on what I've figured out. The results are good enough to put up with the interface. Drop a file you want to convert into the directory sox.exe is in (or vice versa) than navigate there with the command prompt and enter:

C:\Users...> sox Amen44.1.wav Amen96K.wav rate -v -I 96000

This will tell SoX to create a new .wav file from Amen44.1.wav called Amen96K.wav, using very high quality noise rejection, and intermediate phase response, at the rate 96Khz. This will not touch the file's bit depth, it will be left at 16 bits, let your DAW worry about that. If you can't hang with the command line aspect there's also a standalone windows program called r8 brain which can do a more than adequate job, you can find it here.

That's all for tonight. Cheers!

No comments:

Post a Comment