Converting HD FLAC to AIFF 16/44
Converting HD FLAC to AIFF 16/44
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
You didn't miss anything; Max can't resample audio in the current version.
Re: Converting HD FLAC to AIFF 16/44
Thanks for the reply. Could you recommend an open source application that can accomplish this task?
-
- Posts: 26
- Joined: Wed May 24, 2006 10:41 pm
Re: Converting HD FLAC to AIFF 16/44
Audacity can do it
sox also can, but it's command line...
sox also can, but it's command line...
Re: Converting HD FLAC to AIFF 16/44
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
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.
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>
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>