LLMpediaThe first transparent, open encyclopedia generated by LLMs

Apple Lossless Audio Codec

Generated by DeepSeek V3.2
Note: This article was automatically generated by a large language model (LLM) from purely parametric knowledge (no retrieval). It may contain inaccuracies or hallucinations. This encyclopedia is part of a research project currently under review.
Article Genealogy
Parent: Core Audio Hop 4
Expansion Funnel Raw 57 → Dedup 0 → NER 0 → Enqueued 0
1. Extracted57
2. After dedup0 (None)
3. After NER0 ()
4. Enqueued0 ()
Apple Lossless Audio Codec
NameApple Lossless Audio Codec
Extension.m4a, .caf
Mimeaudio/x-m4a
DeveloperApple Inc.
Released28 April 2004
GenreAudio codec, Lossless compression
ContainerMPEG-4 Part 14, Audio Interchange File Format

Apple Lossless Audio Codec. It is a lossless audio coding format developed by Apple Inc. and introduced in 2004. The codec reduces the file size of PCM audio data without sacrificing any of the original information, allowing for perfect reconstruction of the source CD-quality audio. It is a key component within the Apple ecosystem, integrated into software like iTunes and hardware such as the iPod and iPhone.

Overview

The primary purpose of this technology is to provide a space-efficient method for storing high-fidelity audio within the Apple ecosystem. Unlike lossy compression formats such as AAC or MP3, it allows for bit-perfect copies of the original PCM data, making it popular among audiophiles and for audio mastering archives. Its adoption was strategically aligned with the launch of the iTunes Store and the proliferation of devices like the iPod classic, offering a higher-quality alternative to the standard AAC files sold by the store. The format is also known for its robust support within the macOS and iOS operating systems, where it is seamlessly handled by applications like QuickTime and the Music app.

Technical details

The codec employs a combination of linear prediction and Huffman coding to achieve its compression, typically reducing file sizes to between 40% and 60% of the original CD-quality data. It supports a wide range of audio resolutions, including sample rates from 16 kHz to 384 kHz and bit depths up to 32-bit, accommodating high-resolution audio sources. The compression is performed entirely in the Time domain, avoiding the frequency-domain transformations used in codecs like MP3, which helps eliminate artifacts like pre-echo. Decoding is computationally efficient, a design consideration crucial for early portable devices like the iPod nano with limited processing power.

File format and container

Encoded audio streams are most commonly stored within the MPEG-4 Part 14 container, using the filename extension .m4a, the same container used for AAC files. It can also be placed inside a Core Audio Format (.caf) file, a flexible container developed by Apple Inc. for professional audio applications. The format's data is structured in "frames," each containing a header and compressed audio data, allowing for sample-accurate editing and streaming. Metadata support is extensive, utilizing the same ISO base media file format framework as MP4, enabling the inclusion of information like ID3 tags, album art, and Gapless playback cues.

Software and hardware support

Native playback support is ubiquitous across Apple Inc. products, including the Music app on macOS and iOS, QuickTime Player, and iTunes for Windows. Third-party software support is broad, with players like VLC media player, foobar2000, and JRiver Media Center offering decoding capabilities. Hardware support extends to many iPod models (starting with the iPod mini (second generation)), the iPhone, iPad, Apple TV, and HomePod. Several other manufacturers, such as Bang & Olufsen in some audio systems and Pioneer in certain car stereos, have also implemented support for the format.

Comparison with other codecs

Compared to the open-source FLAC, it offers similar compression ratios but is generally less supported outside the Apple ecosystem and proprietary hardware. Unlike the lossy AAC format, it provides perfect audio reconstruction at the cost of larger file sizes, typically double that of a high-bitrate AAC file. It differs from the older lossless Monkey's Audio (.ape) format in its use of a standardized MPEG-4 container and better integration with mobile devices. When compared to uncompressed WAV or AIFF files, it offers significant storage savings while maintaining identical audio fidelity.

Development and history

The codec was developed internally by Apple Inc. and first publicly released on April 28, 2004, alongside iTunes 4.5 and QuickTime 6.5.1. Its introduction was part of a broader strategy to enhance the audio quality offerings of the iTunes Store and to provide a premium format for the growing iPod user base. A significant update came with the launch of the Apple Music streaming service in 2015, which initially used the codec for its iTunes Match catalog. The format gained renewed prominence in 2021 when Apple Inc. announced support for High-resolution audio versions of the codec as part of its Apple Music service, offering streaming at up to 24-bit/192 kHz.

Category:Audio codecs Category:Apple Inc. software Category:Lossless audio codecs Category:2004 software