Apple Lossless


































Apple Lossless
Developer(s) Apple Inc.
Initial release April 28, 2004; 14 years ago (2004-04-28)
Stable release
October 28, 2011; 7 years ago (2011-10-28)

Type Audio codec
License
Apache License 2.0
Website alac.macosforge.org


















Filename extension .m4a .caf
Developed by Apple Inc.
Type of format
Lossless data compression, audio file format
Contained by MPEG-4 Part 14

Apple Lossless, also known as Apple Lossless Audio Codec (ALAC), or Apple Lossless Encoder (ALE), is an audio coding format, and its reference audio codec implementation, developed by Apple Inc. for lossless data compression of digital music. After initially keeping it proprietary from its inception in 2004, in late 2011 Apple made the codec available open source and royalty-free. Traditionally, Apple has referred to the codec as Apple Lossless, though more recently it has begun to use the abbreviated term ALAC when referring to the codec.[1][2]




Contents






  • 1 Codec


  • 2 History


  • 3 Other players


  • 4 See also


  • 5 References


  • 6 External links





Codec


Apple Lossless supports up to 8 channels of audio at 16, 20, 24 and 32 bit depth with a maximum sample rate of 384kHz. Apple Lossless data is frequently stored within an MP4 container with the filename extension .m4a. This extension is also used by Apple for lossy AAC audio data in an MP4 container (same container, different audio encoding). However, Apple Lossless is not a variant of AAC (which is a lossy format), but rather a distinct lossless format that uses linear prediction similar to other lossless codecs. These other lossless codecs, such as FLAC and Shorten, are not natively supported by Apple's iTunes software (either the Mac OS or Windows versions) or by older iOS devices. More modern devices such as the iPhone 7 and above, running iOS11, support FLAC playback[3]. Users of iTunes software who want to use a lossless format which allows the addition of metadata (unlike WAV/AIFF or other PCM-type formats, where metadata is usually ignored) have to use ALAC.[4] All current iOS devices can play ALAC–encoded files. ALAC also does not use any DRM scheme; but by the nature of the MP4 container, it is feasible that DRM could be applied to ALAC much in the same way it is applied to files in other QuickTime containers.[citation needed]


According to Apple, audio files compressed with its lossless codec will use up "about half the storage space" that the uncompressed data would require. Testers using a selection of music have found that compressed files are about 40% to 60% the size of the originals depending on the kind of music, which is similar to other lossless formats.[5][6] Furthermore, compared to some other formats, it is not as difficult to decode, making it practical for a limited-power device, such as older iOS devices.[7][8]


Partly because of the use of an MP4 container, Apple Lossless does not contain integrated error checking.[9]


While not nearly as common, the ALAC format can also use the .CAF file type container.



History


The software for encoding into ALAC files, Apple Lossless Encoder, was introduced into the Mac OS X Core Audio framework on April 28, 2004 together with the QuickTime 6.5.1 update; thus making it available in iTunes since version 4.5 and above.[10] The codec is also used in the AirPort and AirPlay implementation.


The Apple Lossless Encoder (and decoder) were released as open source software under the Apache License version 2.0 on October 27, 2011,[11][12][13] however an independent reverse-engineered open-source encoder and decoder were already available before the release.



Other players


David Hammerton and Cody Brocious have analyzed and decoded this codec without any documents on the format. On March 5, 2005, Hammerton published a simple open source decoder in the programming language C on the basis of the reverse engineering work.[14]


The open source library libavcodec incorporates both a decoder and an encoder for Apple Lossless format, which means that media players based on that library (including VLC media player and MPlayer, as well as many media center applications for home theater computers, such as Plex, XBMC, and Boxee) are able to play Apple Lossless files. The library was subsequently optimized for ARM processors and included in Rockbox. Foobar2000 will also play Apple Lossless files as will JRiver Media Center and BitPerfect.



See also





  • Audio Interchange File Format (AIFF)

  • Comparison of audio coding formats


  • Free Lossless Audio Codec (FLAC)

  • Monkey's Audio

  • TTA

  • WavPack

  • Windows Media Audio 9 Lossless



References





  1. ^ "Subscribe to iTunes Match". Apple Inc. May 8, 2017. Retrieved May 31, 2017. If you have songs encoded in ALAC, WAV, or AIFF formats, we create an AAC 256Kbps version and upload it to iCloud so that it can be played on all of your other devices..mw-parser-output cite.citation{font-style:inherit}.mw-parser-output q{quotes:"""""""'""'"}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-limited a,.mw-parser-output .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}


  2. ^ "Access your music collection on all of your devices with Apple Music". Apple Inc. May 12, 2017. Retrieved May 31, 2017. We create AAC 256Kbps versions of songs that are encoded in ALAC, WAV, or AIFF formats and add the AAC version to iCloud Music Library.


  3. ^ Hardwick, Tim (2017-09-15). "Apple Lists FLAC Audio Playback Support for 4K Apple TV, iPhone 7, iPhone 8, iPhone X". Macrumors. Retrieved 2017-10-22.


  4. ^ Hammerton, David (March 1, 2005). "Re: Apple Lossless Audio Codec: Issues surrounding the release of my code?". Gmane. Retrieved November 5, 2006.


  5. ^ "Lossless comparison - HydrogenAudio Knowledgebase". HydrogenAudio. July 27, 2011. Retrieved June 27, 2012.


  6. ^ McElhearn, Kirk (November 5, 2011). "An Overview of Apple Lossless Compression Results". Kirkville. Retrieved June 27, 2012.


  7. ^ Owsinski, Bobby (December 26, 2007). The Mastering Engineer's Handbook: The Audio Mastering Handbook, Second Edition. Thomson Course Technology PTR. Chapter 12. Internet Delivery Formats > Lossless Codecs. ISBN 978-1-59863-449-5. Retrieved January 15, 2012.


  8. ^ "CodecPerformanceComparison < Main < Wiki". RockBox. July 28, 2013. Retrieved November 29, 2014.


  9. ^ "Which is the best lossless codec? – Hydrogenaudio Forums". Hydrogenaudio. April 1, 2014. Retrieved June 30, 2014.


  10. ^ "QuickTime 6.5.1 adds Lossless Encoder, improves AAC". Macworld. 2004-04-28. Retrieved 2016-01-24.


  11. ^ "Apple Lossless Audio Codec". Apple Lossless Audio Codec. MacOS Forge. October 27, 2011. Retrieved October 29, 2011.


  12. ^ Foresman, Chris (October 28, 2011). "After seven years, Apple open sources its Apple Lossless Audio Codec". Ars Technica. Retrieved October 29, 2011.


  13. ^ von Eitzen, Chris (October 28, 2011). "Apple open sources its ALAC lossless audio codec". The H. Archived from the original on 15 May 2012. Retrieved October 29, 2011.


  14. ^ "ALAC". Crazney.net. 2004. Archived from the original on June 20, 2012. Retrieved June 27, 2012.




External links



  • Apple Lossless Audio Codec Project


  • ALAC – technical features

  • Apple - iTunes - Import

  • Article showing different rates of compression for different types of music











Popular posts from this blog

Bressuire

Vorschmack

Quarantine