Converting HD FLAC to AIFF 16/44

Discuss Max, an open source CD audio extractor and audio converter.
Post Reply
bjast
Posts: 10
Joined: Tue Apr 07, 2009 2:06 pm

Converting HD FLAC to AIFF 16/44

Post by bjast » Thu Jul 26, 2012 2:36 pm

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

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: Converting HD FLAC to AIFF 16/44

Post by sbooth » Thu Jul 26, 2012 11:28 pm

You didn't miss anything; Max can't resample audio in the current version.

bjast
Posts: 10
Joined: Tue Apr 07, 2009 2:06 pm

Re: Converting HD FLAC to AIFF 16/44

Post by bjast » Fri Jul 27, 2012 1:05 pm

Thanks for the reply. Could you recommend an open source application that can accomplish this task?

scott brown
Posts: 26
Joined: Wed May 24, 2006 10:41 pm

Re: Converting HD FLAC to AIFF 16/44

Post by scott brown » Fri Jul 27, 2012 4:41 pm

Audacity can do it

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

kai_h
Posts: 5
Joined: Wed Jan 09, 2013 11:35 am

Re: Converting HD FLAC to AIFF 16/44

Post by kai_h » Wed Jan 09, 2013 12:03 pm

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>

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests