Happy Halloween from Adafruit! Check out some scary #electronichalloween posts, the frightening Halloween section and spooky videos!

October 30, 2011 AT 11:53 am

Apple Lossless Audio Codec is open source

Apple Lossless is an open and royalty-free codec – Apple Lossless Audio Codec.

The Apple Lossless Audio Codec (ALAC) is an audio codec developed by Apple and supported on iPhone, iPad, most iPods, Mac and iTunes.  ALAC is a data compression method which reduces the size of audio files with no loss of information.  A decoded ALAC stream is bit-for-bit identical to the original uncompressed audio file.
 
The Apple Lossless Audio Codec project contains the sources for the ALAC encoder and decoder.  Also included is an example command line utility, called alacconvert, to read and write audio data to/from Core Audio Format (CAF) and WAVE files.  A description of a ‘magic cookie’ for use with files based on the ISO base media file format (e.g. MP4 and M4A) is included as well.
 
The Apple Lossless Audio Codec sources are available under the Apache license.

Any iDevice can play ALAC (but not FLAC) and since the codec is open and previously reverse engineered, we’ll likely see more products support playback and creation using this format. If we recall correctly, the Rockbox can play ALAC as well as many other formats…


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!



3 Comments

  1. One thing.

    What about patents and other things that could prevent this code from being used free for all (as in freedom and royalty free)?

  2. @sqsqfsqf – are you concerned that apple open sourced something that has patent(s)?

  3. Apache license gives unrestricted patent use…

Sorry, the comment form is closed at this time.