Apple's Lossless Audio Codec (ALAC) Now Open Source

iTunes10On MacOSForge, Apple has announced that they are releasing the Apple Lossless Audio Codec as an open source project:

The Apple Lossless Audio Codec (ALAC) is a lossless audio codec developed by Apple and deployed on all of its platforms and devices for some years now. Apple is making the Apple Lossless Audio Codec (ALAC) available as an open source project. Full details can be found on the Apple Lossless Audio Codec project page.

The Apple Lossless Audio Codec is a similar to other "lossless" codecs such as FLAC which offer audio compression without any loss in audio information. ALAC is said to compress files only by "about half" as compared to the originals.

Formats such as MP3 and AAC are considered "lossy" and result in much greater compression but at the cost of some fidelity. The main advantage of using ALAC over competing lossless formats is that ALAC is supported by all of Apple's iPods and iOS devices. The format had already been reverse engineered prior to this release, but this opens the door to even more products supporting both ALAC creation and playback.

The project has been released under the Apache license.

Top Rated Comments

arn Avatar
163 months ago
The main advantage of using competing lossless formats is that they are supported by ALL devices. ...even ipods and iphones!

This is wrong. iPods and iPhones don't support FLAC other lossless formats, unless you are talking uncompressed.

arn
Score: 50 Votes (Like | Disagree)
arn Avatar
163 months ago
Can someone explain what "half as much" means? I though the ALAC didn't create fidelity loss. Or is some compression possible without such?
Sure, of course, some compression is possible without data loss. ALAC files are roughly 50% of uncompressed.

.zip is lossless. If it wasn't all your programs would break after going through compression/decompression.

Think of this: AAAAAAAA compresses to 8A which can be uncompressed to AAAAAAAA without any data loss.

arn
Score: 40 Votes (Like | Disagree)
JonathanK81 Avatar
163 months ago
The main advantage of using competing lossless formats is that they are supported by ALL devices on any platform.
They're not. Many devices do not natively support FLAC. iOS devices will natively support ALAC, so that will outnumber "all devices" as you put it.


Can someone explain what "half as much" means? I though the ALAC didn't create fidelity loss. Or is some compression possible without such?
It doesn't create loss in sound. It's a lossless format. What they mean by compression is the file size. So if the original file is 30MB, ALAC compression will make it 15MB in file size but still sound like the original, with no loss of audio.
Score: 23 Votes (Like | Disagree)
arn Avatar
163 months ago
Android's market share has long surpassed that of iOS. I'd say theres little debate over which open source format will have more success.

Not to start a platform argument, but Android's marketshare may be bigger than the iPhone's. But if you include all iPods (non iOS ones), iPod Touches, and iPads, that market size is certainly still bigger than Android. In terms of devices which support ALAC.

arn
Score: 20 Votes (Like | Disagree)
batchtaster Avatar
163 months ago
Good news for widespread support, but one wonders why Apple didn't just go with FLAC in the first place.

As with most things Apple, presumably because they thought they could do better. They don't tend to do anything that they don't think is an improvement on something that already exists. If I recall correctly, isn't ALAC about half the file size?

The main advantage of using competing lossless formats is that they are supported by ALL devices on any platform*.

* actual value of "all" and "any" may vary.

Fixed.
Score: 18 Votes (Like | Disagree)
*LTD* Avatar
163 months ago
The main advantage of using ALAC over competing lossless formats is that ALAC is supported by all of Apple's iPods and iOS devices.

This is key. And especially appropriate considering how massive the iOS ecosystem is.
Score: 18 Votes (Like | Disagree)

Popular Stories

maxresdefault

Apple Announces 'Let Loose' Event on May 7 Amid Rumors of New iPads

Tuesday April 23, 2024 7:11 am PDT by
Apple has announced it will be holding a special event on Tuesday, May 7 at 7 a.m. Pacific Time (10 a.m. Eastern Time), with a live stream to be available on Apple.com and on YouTube as usual. The event invitation has a tagline of "Let Loose" and shows an artistic render of an Apple Pencil, suggesting that iPads will be a focus of the event. Subscribe to the MacRumors YouTube channel for more ...
Apple Vision Pro Dual Loop Band Orange Feature 2

Apple Cuts Vision Pro Shipments as Demand Falls 'Sharply Beyond Expectations'

Tuesday April 23, 2024 9:44 am PDT by
Apple has dropped the number of Vision Pro units that it plans to ship in 2024, going from an expected 700 to 800k units to just 400k to 450k units, according to Apple analyst Ming-Chi Kuo. Orders have been scaled back before the Vision Pro has launched in markets outside of the United States, which Kuo says is a sign that demand in the U.S. has "fallen sharply beyond expectations." As a...
Apple Silicon AI Optimized Feature Siri

Apple Releases Open Source AI Models That Run On-Device

Wednesday April 24, 2024 3:39 pm PDT by
Apple today released several open source large language models (LLMs) that are designed to run on-device rather than through cloud servers. Called OpenELM (Open-source Efficient Language Models), the LLMs are available on the Hugging Face Hub, a community for sharing AI code. As outlined in a white paper [PDF], there are eight total OpenELM models, four of which were pre-trained using the...
iPad And Calculator App Feature

Apple Finally Plans to Release a Calculator App for iPad Later This Year

Tuesday April 23, 2024 9:08 am PDT by
Apple is finally planning a Calculator app for the iPad, over 14 years after launching the device, according to a source familiar with the matter. iPadOS 18 will include a built-in Calculator app for all iPad models that are compatible with the software update, which is expected to be unveiled during the opening keynote of Apple's annual developers conference WWDC on June 10. AppleInsider...
iOS 17 All New Features Thumb

iOS 17.5 Will Add These New Features to Your iPhone

Sunday April 21, 2024 3:00 am PDT by
The upcoming iOS 17.5 update for the iPhone includes only a few new user-facing features, but hidden code changes reveal some additional possibilities. Below, we have recapped everything new in the iOS 17.5 and iPadOS 17.5 beta so far. Web Distribution Starting with the second beta of iOS 17.5, eligible developers are able to distribute their iOS apps to iPhone users located in the EU...