Apple's ALAC codec is now open source
Apple Lossless, also known as ALAC, is a lossless audio codec Apple developed some time ago for digital music. The codec compresses music files anywhere from 40-60 percent of their original size with no discernible loss in audio quality or fidelity. "A decoded ALAC stream is bit-for-bit identical to the original uncompressed audio file," according to its description. iTunes on the Mac and virtually all of Apple's portable devices support the codec, and it's been my personal format of choice when ripping songs from a CD source.
The big news today is that ALAC is now open source. "Apple Lossless Audio Codec sources are available under the Apache license," according to Mac OS Forge, and the project "contains the sources for the ALAC encoder and decoder."
The project also includes alacconvert, a command line utility that can read and write audio data to and 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," Mac OS forge says.
Open sourcing ALAC may or may not lead to more widespread adoption of the codec, but for purely selfish reasons I hope it does. While FLAC fulfills many of the same functions as Apple's in-house lossless codec, it has no support on iOS devices, and re-encoding FLAC files into something that iTunes won't choke on has always been a pet peeve of mine. If more people begin adopting ALAC instead of FLAC, it'll make life a lot easier for audiophiles.
[via Vincent Gable/twitter]
Share
Source: http://alac.macosforge.org/
Apple Lossless, also known as ALAC, is a lossless audio codec Apple developed some time ago for digital music. The codec compresses music...
Add a Comment
Just to inform. For a test, I have Stevie Wonder's Innervisions in 96-24flac format that I bought from HDTracks. By the way, an amazing 2000 remastering. Took these pieces of bits and converted it into Apple Lossless. Don't know what are the support limits for ALAC on iDevices, but iTunes play the 96-24 ALAC files flawlessly.
So, Apple Lossless does not stop on 16bit. The only limited lossless format I know of (which by the way captured no interest from public), was the MP3HD, which besides the critical feature of adding the lossless stream on ID3 tags, stops at 48khz/16bit. Even WMA lossless reaches 96/24.
Since we have WAV and AIFF as pairs for working with audio manipulation, I think that FLAC and Apple Lossless play their rolls propperly regarding lossless compression. Both are fast on encoding and have fast decoding. And are good for archival purposes. We never know, but if is there any demand Apple can also implement FLAC support on iTunes as well. I don't doubt it, considering the fact that FLAC is very popular amongst audiophiles and is a great format on file sharing. And also HDTracks catalog is growing. The so called "*******" major labels are putting their highly praised artists and their sacred albums on HDtracks for sale in high definition, as I've mentioned on my above example. Time changes everything. Long live lossless music!
"While FLAC fulfills many of the same functions as Apple's in-house lossless codec, it has no support on iOS devices,"
Exactly - if we all avoid ALAC maybe it will go away and iOS devices will have to play FLAC files.
"If more people begin adopting ALAC instead of FLAC, it'll make life a lot easier for audiophiles."
If Apple spent 1 minute implementing support for FLAC it would make life easy for audiophiles!
#justsaying
:)
On reading the headline, I was all ready to see this as Apple contributing an open standard that could benefit even non-Apple users. THAT would have been news! No such luck, though. They are just releasing an in-house version of something that already exists so people who are locked into iTunes can have something the rest of the world has had for some time: a lossless audio codec. Non-Apple users should see this as the non-event that it is.
October 28 2011 at 6:49 AM Report abuse Permalink rate up rate down ReplyWell done, Apple - you are being a good citizen.
Now where is that open FaceTime standard specification that Steve promised when FaceTime was launched?
www.computerworld.com/s/article/9177819/Jobs_has_lofty_goal_for_iPhone_4_s_FaceTime_video_chat_with_open_standard
This news is nice by all regards.
I do challenge any so-called audiophile to a blind test. Prize is $20 if you can correctly detect 8/10 samples of your favorite lossless format versus any "lossy" format of my choice in a BLIND test.
It's all in your head, guys.
If I understand the codecs correctly, one issue of flac vs apple lossless is that flac can provide 24 bit encoding where apple lossless stops at 16. Some people will care, some will not, and some will never know the difference. But, as more artists are beginning to release "high def audio" versions of their work, this could be an issue down the road. Personally, I'd like to be able to get the highest quality versions of my favorite artists and downloading 24 bit masters to play on my iPhone would be awesome. I understand that an iDevice is nt considered audiophile quality, but it's what I carry around all the time and I'd like to have the highest quality I can get. I do wish apple at least supported flac just for this reason.
October 27 2011 at 10:51 PM Report abuse Permalink rate up rate down ReplyAs an audio junkie and an OSX/iPod user, ALAC has been my only choices when I have to rip CD or Vinyl for the past few years.
However, remember that FLAC is currently supported all Android devices (I guess that ALAC would be soon supported as well) and that it takes very few second and no loss of quality to convert FLAC to ALAC and vice versa.
An open-source reference implementation does not necessarily mean royalty-free. Until Apple discloses ALAC-related patents and waives its right to exercise those patents (like Google did with WebM and WebP), ALAC is can't be officially supported by 'free-as-in-freedom' free software.
October 27 2011 at 10:09 PM Report abuse Permalink +2 rate up rate down ReplyDoes this mean we'll see ALAC on the iTunes store soon? After all this could make ALAC as ubiquitous as m4a...
October 27 2011 at 9:57 PM Report abuse Permalink +1 rate up rate down ReplyDeals of the Day
more deals- $15 Apple iTunes Gift Card for $8 for new Saveology customers
- Philips Fidelio Docking Speaker Station for iPhone / iPod for $38 + $6 s&h
- Retro 80's Case for iPhone for $11 + $2 s&h
- HHI 360 Dual-View Stand Case for new iPad w/ $2 credit for $12 + $3 s&h
- HHI ReElegant Smart Cover Companion Case for new iPad from $5 + $3 s&h
- Used Apple iPad 64GB WiFi + 3G for $240 + free shipping
29 Comments