ALAC
ALAC
0.2

5.0

ALAC free download for Mac

ALAC

0.2
01 March 2010

A basic ALAC decoder.

Overview

ALAC... A basic decoder for Apple Lossless Audio Codec files (ALAC). ALAC is a proprietary lossless audio compression scheme. Apple never released any documents on the format. What I provide here is a C implementation of a decoder, written from reverse engineering the file format. It turns out that most of the algorithms in the codec are fairly well known. ALAC uses an adaptive FIR prediction algorithm and stores the error values using a modified rice or golumb algorithm. Further details are in alac.c.

Although an encoder is not provided, by using the decoder as a sort of specification it should be fairly trivial to write an encoder. By exploiting other lossless audio encoders, such as FLAC, the task will be much easier. Although one wouldn't be able to copy the compression algorithms verbatim, as adaptive compression is used in ALAC and not in FLAC. There are, however, a bunch of academic papers on the issue.

The program located here will not be able to handle all ALAC files, it can only handle mono or stereo files. ALAC allows up to 8 channels. It should be trivial to finish the implementation once I find files that I can test it with. Likewise the decoder only supports 16bit sample sizes. Again, it should be trivial to fix.

The decoder is fairly self-explanatory, it can read an ALAC stream from either a file or from stdin, and write it as raw PCM data or as a WAV file to either stdout or a file. In theory one should be able to stream data to the decoder.

Want to help? Click here.

What's new in ALAC

Version 0.2: Release notes were unavailable when this listing was updated.

1 ALAC Reviews

Rate this app:

Anonymous
06 March 2005

Most helpful

This is a great piece of work! For example it makes it possible, in principle, to store Apple Lossless encoded music on a Linux/*BSD system and convert it on the fly to WAV, suitable for streaming to network music devices. If you're running Mac OS X, of course you can use Apple's own codec (by doing an export to WAV using QuickTime Player, for example), but what's great about this code is that it's self-contained and hence usable to other OSes. However, as the editor note says, it's not for novices (hence, it makes little point for those to download it and submit a bad review) but for the rest of us it's great. Kudos to the author!
Like (1)
Version 0.1
Anonymous
06 March 2005
This is a great piece of work! For example it makes it possible, in principle, to store Apple Lossless encoded music on a Linux/*BSD system and convert it on the fly to WAV, suitable for streaming to network music devices. If you're running Mac OS X, of course you can use Apple's own codec (by doing an export to WAV using QuickTime Player, for example), but what's great about this code is that it's self-contained and hence usable to other OSes. However, as the editor note says, it's not for novices (hence, it makes little point for those to download it and submit a bad review) but for the rest of us it's great. Kudos to the author!
Like (1)
Version 0.1
Free

5.0

App requirements: 
  • PPC 32
  • Mac OS X 10.2.8 or later
Developer Website: 
Download(19 KB)MacUpdateInstall with MacUpdate

Downloaded & Installed 2,980 times