This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Audio Interchange File Format" – news ·newspapers ·books ·scholar ·JSTOR(January 2016) (Learn how and when to remove this message) |
| Audio Interchange File Format (AIFF) | |
|---|---|
| Filename extension | .aiff .aif .aifc |
| Internet media type | audio/x-aiff audio/aiff |
| Type code | AIFF, AIFC |
| Uniform Type Identifier (UTI) | public.aiff-audio public.aifc-audio |
| Developed by | Apple |
| Initial release | 21 January 1988; 37 years ago (1988-01-21)[1] |
| Latest release | |
| Type of format | Audio file format,container format |
| Extended from | IFF (File format) |
Audio Interchange File Format (AIFF) is anaudio file format standard used for storingsound data forpersonal computers and other electronic audio devices. The format was developed byApple Inc. in 1988 based onElectronic Arts'Interchange File Format (IFF, widely used onAmiga systems) and is most commonly used onApple Macintosh computer systems.
Theaudio data in most AIFF files is uncompressedpulse-code modulation (PCM). This type of AIFF file uses much more disk space thanlossy formats likeMP3—about 10 MB for one minute of stereo audio at a sample rate of 44.1 kHz and a bit depth of 16 bits. There is also a compressed variant of AIFF known asAIFF-C orAIFC, with various defined compression codecs.
In addition to audio data, AIFF can includeloop point data and the musical note of asample, for use by hardware samplers and musical applications.
The file extension for the standard AIFF format is.aiff or.aif. For the compressed format the preferred suffix is.aifc, but audio applications supporting the format also allow.aiff or.aif.
This sectionpossibly containsoriginal research. Pleaseimprove it byverifying the claims made and addinginline citations. Statements consisting only of original research should be removed.(March 2009) (Learn how and when to remove this message) |
With the development of the OS X operating system now known asmacOS, Apple created a new type of AIFF which is, in effect, an alternativelittle-endian byte order format.[3][4]
Because the AIFF architecture has no provision for alternative byte order, Apple used the existing AIFF-C compression architecture, and created a "pseudo-compressed" codec calledsowt (twos spelled backwards). The only difference between a standard AIFF file and an AIFF-C/sowt file is the byte order; there is no compression involved at all.[5]
Apple uses this new little-endian AIFF type as its standard on macOS. When a file is imported to or exported fromiTunes in "AIFF" format, it is actually AIFF-C/sowt that is being used. When audio from an audio CD is imported by dragging to the macOS Desktop, the resulting file is also an AIFF-C/sowt. In all cases, Apple refers to the files simply as "AIFF", and uses the.aiff extension.
For the vast majority of users this technical situation is completely unnoticeable and irrelevant. The sound quality of standard AIFF and AIFF-C/sowt are identical, and the data can be converted back and forth without loss. Users of older audio applications, however, may find that an AIFF-C/sowt file will not play, or will prompt the user to convert the format on opening, or will play as static.
All traditional AIFF and AIFF-C files continue to work normally on macOS, and many third-party audio applications as well as hardware continue to use the standard AIFF big-endian byte order.
Apple has also created another recent extension to the AIFF format in the form of Apple Loops[6] used byGarageBand andLogic Pro, which allows the inclusion of data for pitch and tempo shifting by an application in the more common variety, andMIDI-sequence data and references to GarageBand playback instruments in another variety.
Apple Loops use either the.aiff (or.aif) or.caf extension regardless of type.
An AIFF file is divided into a number of chunks.[7] Each chunk is identified by achunk ID more broadly referred to asFourCC.
Types of chunks found in AIFF files:
AIFF files can storemetadata in Name, Author, Comment, Annotation, and Copyright chunks. AnID3v2 tag chunk can also be embedded in AIFF files, as well as an Application Chunk withExtensible Metadata Platform (XMP) data in it.[8]
AIFF supports only uncompressed PCM data. AIFF-C also supports compressed audio formats, which can be specified in the "COMM" chunk. The compression type is "NONE" for PCM audio data. The compression type is accompanied by a printable name. Common compression types and names include, but are not limited to:
| Compression type | Compression name | Data | Source |
|---|---|---|---|
| NONE | not compressed | PCM, big-endian | Apple Inc. |
| sowt | not compressed | PCM, little-endian | Apple Inc. |
| fl32 | 32-bitfloating point | IEEE 32-bit float | Apple Inc. |
| fl64 | 64-bit floating point | IEEE 64-bit float | Apple Inc. |
| alaw | ALaw 2:1 | 8-bit ITU-TG.711A-law | Apple Inc. |
| ulaw | μLaw 2:1 | 8-bit ITU-T G.711μ-law | Apple Inc. |
| ALAW | CCITT G.711 A-law | 8-bit ITU-T G.711 A-law (64 kbit/s) | SGI |
| ULAW | CCITT G.711 u-law | 8-bit ITU-T G.711 μ-law (64 kbit/s) | SGI |
| FL32 | Float 32 | IEEE 32-bit float | SoundHack & Csound |
| ADP4 | 4:1 Intel/DVIADPCM | Stéphane Tavenard (Audio Convert/Player)AmigaOS | |
| ima4 | IMA 4:1 | ||
| ACE2 | ACE 2-to-1 | Apple IIGS ACE (Audio Compression/Expansion) | |
| ACE8 | ACE 8-to-3 | ||
| DWVW | Delta with variable word width | TX16W Typhoon | |
| MAC3 | MACE 3-to-1 | Apple Inc. | |
| MAC6 | MACE 6-to-1 | Apple Inc. | |
| Qclp | Qualcomm PureVoice | Qualcomm | |
| QDMC | QDesign Music | QDesign | |
| rt24 | RT24 50:1 | Voxware | |
| rt29 | RT29 50:1 | Voxware | |
| SDX2 | Square-Root-Delta | Big-endian | 3DO (Panasonic) / Mac (Apple) |