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

On 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

(View all)
Avatar
110 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)
Avatar
110 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)
Avatar
110 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)
Avatar
110 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)
Avatar
110 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)
Avatar
110 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)

Top Stories

Leaker Claims New 13-inch MacBook Pro Coming as Soon as Next Month

Monday April 6, 2020 2:56 am PDT by Tim Hardwick
Apple will announce a new 13-inch MacBook Pro in May with the codename J223, according to a rumor shared by YouTuber and leaker Jon Prosser. Note: it’s a refresh to the current 13” So the bigger 14” display upgrade is a big possibility— Jon Prosser (@jon_prosser) April 4, 2020 Analyst Ming-Chi Kuo has said Apple plans to release new MacBook Pro and MacBook Air models with scissor keyboards ...

iOS 14 Could Offer Home Screen Widgets, Wallpaper Customizations

Saturday April 4, 2020 3:30 pm PDT by Frank McShan
iOS 14 could offer home screen widgets and wallpaper customizations for the first time, according to 9to5Mac and Twitter user DongleBookPro. Apple is reportedly working to implement widgets that can be moved freely around like icons on the iPhone and iPad homescreen for the very first time. The feature is reportedly codenamed "Avocado" and no other details are available. It was also...

Top Stories: Apple Leaks iPhone SE and AirTags, Apple Buys Dark Sky, and More

Saturday April 4, 2020 6:00 am PDT by MacRumors Staff
With the calendar rolling over to April this week, we yet again saw several leaks and rumors, most notably including Apple itself leaking some references to a pair of long-rumored products: a new budget iPhone SE and AirTags item trackers. Subscribe to the MacRumors YouTube channel for more videos. Apple also acquired popular weather app Dark Sky, while Amazon's Prime Video app now allows...

Apple Music Was Second Biggest Global Music Streaming Service in 2019

Friday April 3, 2020 5:38 pm PDT by Juli Clover
Global online music streaming subscriptions were up 32 percent year-over-year in 2019, hitting 358 million subscribers, according to new estimates shared today by Counterpoint Research. Spotify was the market leader with a 31 percent share of total revenue and a 35 percent share of total paid subscriptions, while Apple Music earned the second place slot with a 24 percent share of total...

More References to Apple's Upcoming Low-Cost iPhone Appear Online

Monday April 6, 2020 4:38 am PDT by Tim Hardwick
Further references to Apple's upcoming low-cost iPhone have appeared online, one on a Chinese e-commerce website and another on Verizon's smartphone trade-in page. Spotted by tech blog MySmartPrice, Chinese retailer JD.com has published a placeholder for Apple's so-called "iPhone 9" that includes a teaser image of a veiled smartphone, but other than that it lacks any particularly revealing...

The New York Times, IFTTT, Medium, and Other Apps Adopt Sign in With Apple Ahead of June 30 Deadline

Sunday April 5, 2020 7:08 pm PDT by Frank McShan
Apps with sign-in functionality, including The New York Times, IFTTT, Medium, and more, have continued to adopt Apple's secure Sign in with Apple feature ahead of a deadline of June 30. The deadline for these apps to support the feature was recently extended from April 30. Sign in with Apple, first introduced in iOS 13, allows users to create accounts for apps and websites using an Apple ID. ...

Apple Offers Employees Deep Discounts on HomePod, Beats Headphones and More

Friday April 3, 2020 11:14 am PDT by Juli Clover
Apple is offering employees significant discounts on products that include the HomePod and Beats headphones, according to details on the deals shared by MacGeneration and 9to5Mac. Apple is said to be clearing stock of Beats headphones and HomePods, providing them to employees through an internal deals program. The HomePod is available at a 50 percent discount, dropping the price to $149.50,...

New Low-Cost 'iPhone SE' Could Launch as Soon as Tomorrow

Thursday April 2, 2020 4:06 pm PDT by Juli Clover
Apple's new low-cost iPhone is set to launch as early as Friday, April 3, according to a new report from 9to5Mac that cites a tip from a "highly trusted reader." The site says that while it can't be certain about the launch date, "Apple could reveal and begin taking orders for the new iPhone as soon as tomorrow." The iPhone 8 Apple is said to be planning to call the new iPhone, which is...

EPIX Available for Free Through Apple TV Channels Until May 2, No Subscription Required

Saturday April 4, 2020 9:28 am PDT by Frank McShan
EPIX is currently offering free access to its catalog of movies and TV shows through the Apple TV Channels feature in the TV app, and many additional services are also offering extended free trials. Upon navigating to the Apple TV app, users will notice that EPIX is listed under the "My Channels" section. Rather than offering an extended trial where users must first sign up, EPIX is...

iPad Launched 10 Years Ago Today, App Developer Reflects on Getting Access to a Top-Secret Prototype

Friday April 3, 2020 10:53 am PDT by Joe Rossignol
On the 10th anniversary of the iPad launching in stores, Agile Partners co-founder Jack Ivers has shared an interesting story about how his company managed to get in Apple's good graces and ultimately gain access to prototype iPads. The story begins in 2008, when Agile Partners released GuitarToolkit as one of the first iPhone apps on the App Store. The app used the iPhone's microphone to...