

I converted back to a wav with afconvert and got a wave file with 4,096 frames.įile: /Volumes/Home/sbooth/Desktop/4096.wavĭata format: 1 ch, 44100 Hz, 'lpcm' (0x0000000C) 16-bit little-endian signed integer

The resulting alac file does contain 8,192 frames, but only 4,096 are audio and the rest are remainder. I generated a 4,096 frame mono wav in Audacity, and converted it to m4a using afconvert.

My suspicion is a bug in Core Audio code being called by the three programs exhibiting the Stephen Booth: since Max is affected, would you mind looking further into this and reporting to Apple if necessary? I’ve only checked this with 16 bit 44.1kHz stereo files. (The problem first came to my attention while working with a track of this size.) When an input file contains a multiple of 4096 (1000h) samples per track, the header of the output ALAC falsely claims that the number of samples per track is 4096 greater than the actual quantity.Īn output ALAC containing 4096 (1000h) samples per track has a header claiming that there are 8192 (2000h) samples per track.Īn output ALAC containing 8192 (2000h) samples per track has a header claiming that there are 8192 (3000h) samples per track.Īn output ALAC containing 25890816 (18b1000h) samples per track has a header claiming that there are 25894912 (18b2000h) samples per track. Other programs that I’ve not tried may be similarly affected. Max, XLD and afconvert, but not iTunes, share a bug in conversion to ALAC. However, the Apple Lossless format doesn't support CUE sheets.Edit: Before reading further, be aware that this problem appears to have been corrected in XLD since this thread was started. If they are important to you, you should stick with the FLAC format!!! However, the Apple Lossless format doesn't support CUE sheets. If you convert your FLAC files to Apple Lossless, you won't lose any quality, because both formats are LOSSLESS audio formats. Then select the CUE Sheet and decode the tracks to your desired format. However, if you have a CD/Album that is ripped into only one, huge FLAC file with a CUE sheet, you may still split the files accurately by going to "File" in the menu bar, and by clicking on "Open Raw PSM (Bin/Cue)."!

Just go to "File" in the menu bar, click "Open." and select the files which you want to transcode! Just click on "XLD" in your menu bar, chose "Preferences.", then under "General", select "Apple Lossless" as the "Output Format"!Īfter that, it is time to select the files that you want to convert. Just use XLD to convert your FLAC files to Apple Lossless, everything else would be a waste of time!įirst, change your output format to Apple Lossless!
