Page 1 of 1

Converting HD FLAC to AIFF 16/44

Posted: Thu Jul 26, 2012 2:36 pm
by bjast
I'm attempting to use Max to convert HiRes 24/96 FLAC files to 16/44 AIFF files, but even though I choose Linear PCM 16 bit, the files always come out 16/96. I'm sure I'm missing something. Please advise. Thanks

Re: Converting HD FLAC to AIFF 16/44

Posted: Thu Jul 26, 2012 11:28 pm
by sbooth
You didn't miss anything; Max can't resample audio in the current version.

Re: Converting HD FLAC to AIFF 16/44

Posted: Fri Jul 27, 2012 1:05 pm
by bjast
Thanks for the reply. Could you recommend an open source application that can accomplish this task?

Re: Converting HD FLAC to AIFF 16/44

Posted: Fri Jul 27, 2012 4:41 pm
by scott brown
Audacity can do it

sox also can, but it's command line...

Re: Converting HD FLAC to AIFF 16/44

Posted: Wed Jan 09, 2013 12:03 pm
by kai_h
You can also use afconvert to do it, which is a standard command-line tool on OS X 10.6 and above.

You'd first need to use another tool (like Max) to convert the FLAC to something that Core Audio understands, such as WAV or AIFF.
Then, to do the sample rate and word size conversions, run the following command

Code: Select all

afconvert -d BEI16@44100 -f AIFF --src-complexity bats -r 127 <input file> <output file.aiff>
That will convert the file to a Big Endian, 16-bit Integer word size, set the file format to AIFF, set the sample rate complexity to bats (options here are line, norm and bats - I don't know what any of them do, but bats is Apple's highest-quality option) sets the sample rate converter quality to 127 (out of a range of 0...127)

If you want a Wave file at the end, instead change the word size to Little Endian and the file format to WAVE as follows.

Code: Select all

afconvert -d LEI16@44100 -f WAVE --src-complexity bats -r 127 <input file> <output file.wav>