Aiff Information
Audio Interchange File Format (AIFF) is an audio file format standard used for storing sound data for personal computers and other electronic audio devices. The format was co-developed by Apple Computer in 1988 based on Electronic Arts' Interchange File Format (IFF, widely used on Amiga systems) and is most commonly used on Apple Macintosh computer systems.
The audio data in a standard AIFF file is uncompressed pulse-code modulation (PCM). There is also a compressed variant of AIFF known as AIFF-C or AIFC, with various defined compression codecs.
Standard AIFF is a leading format (along with SDII and WAV) used by professional-level audio and video applications, and unlike the better-known lossy MP3 format, it is non-compressed (which aids rapid streaming of multiple audio files from disk to the application), and lossless. Like any non-compressed, lossless format, it uses much more disk space than MP3—about 10MB for one minute of stereo audio at a sample rate of 44.1 kHz and a sample size of 16 bits. In addition to audio data, AIFF can include loop point data and the musical note of a sample, for use by hardware samplers and musical applications.
The file extension for the standard AIFF format is .aiff or .aif. For the compressed variants it is supposed to be .aifc, but .aiff or .aif are accepted as well by audio applications supporting the format.
Contents |
AIFF on Mac OS X
| This section may contain original research. Please improve it by verifying the claims made and adding references. Statements consisting only of original research may be removed. More details may be available on the talk page. (March 2009) |
With the development of the Mac OS X operating system, Apple created a new type of AIFF which is, in effect, an alternative little-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 called sowt (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 Mac OS X. When a file is imported to or exported from iTunes 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 Mac OS X 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 Mac OS X (including on the new Intel-based hardware), and many third-party audio applications as well as hardware continue to use the standard AIFF big-endian byte order.
Note: As of Mac OS X version 10.4.9, the system will sometimes incorrectly display the AIFC icon for files with the .aif extension, whether or not the actual file format is AIFF or AIFF-C. This can be verified by opening the files in a hex editor and checking the FORM chunk's form type. This can sometimes happen when exporting files from QuickTime, and frequently happens when sending and receiving files between Windows and Mac computers or extracting files from an archive.
AIFF Apple Loops
Apple has also created another recent extension to the AIFF format in the form of Apple Loops[6] used by GarageBand and Logic Audio, which allows the inclusion of data for pitch and tempo shifting by an application in the more common variety, and MIDI-sequence data and references to GarageBand playback instruments in another variety.
AppleLoops use the .aiff (or .aif) extension regardless of type.
Data format
An AIFF file is divided into a number of chunks. Each chunk is identified by a chunk ID more broadly referred to as FourCC.
Types of chunks found in AIFF files:
- Common Chunk (required)
- Sound Data Chunk (required)
- Marker Chunk
- Instrument Chunk
- Comment Chunk
- Name Chunk
- Author Chunk
- Copyright Chunk
- Annotation Chunk
- Audio Recording Chunk
- MIDI Data Chunk
- Application Chunk
- ID3 Chunk
AIFF-C common compression types
AIFF supports only uncompressed PCM data. AIFF-C also supports compression audio formats, that 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 | Apple Computer, Inc. |
| fl32 | 32-bit floating point | IEEE 32-bit float | Apple Computer, Inc. |
| fl64 | 64-bit floating point | IEEE 64-bit float | Apple Computer, Inc. |
| alaw | ALaw 2:1 | 8-bit ITU-T G.711 A-law | Apple Computer, Inc. |
| ulaw | µLaw 2:1 | 8-bit ITU-T G.711 µ-law | Apple Computer, 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/DVI ADPCM | SoundHack | |
| 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 Computer, Inc. | |
| MAC6 | MACE 6-to-1 | Apple Computer, Inc. | |
| Qclp | Qualcomm PureVoice | Qualcomm | |
| QDMC | QDesign Music | QDesign | |
| rt24 | RT24 50:1 | Voxware | |
| rt29 | RT29 50:1 | Voxware |
See also
- Apple Lossless
- FLAC
- WAV
- RIFF, the little-endian format corresponding to IFF
- OSType
- FourCC
References
- ^ a b Apple Computer, Inc. (1989-01-04) (PDF), Audio Interchange File Format, A Standard for Sampled Sound Files, Version 1.3, http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/AIFF/Docs/AIFF-1.3.pdf, retrieved 2010-03-21
- ^ P. Kabal (2005-03-15). "Audio File Format Specifications - AIFF / AIFF-C Specifications". McGill University. http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/AIFF/AIFF.html. Retrieved 2010-03-21.
- ^ Mac OSX Reference Library
- ^ Supported Audio File and Data Formats in Mac OS X
- ^ "Technical Q&A QTMRF04: QuickTime Sound". Apple. 1995-05-01. http://developer.apple.com/mac/library/qa/qtmrf/qtmrf04.html. Retrieved 2009-11-09.
- ^ "Logic Studio - Plug-ins & Sounds". Apple. http://www.apple.com/logicstudio/soundlibrary/#loops. Retrieved 2010-04-30.
- ^ Tom Erbe (1999). "AIFF-C Compression Types and Names". Archived from the original on 2006-06-20. http://web.archive.org/web/20060620002145/http://shoko.calarts.edu/~tre/AIFFC/comptype.html. Retrieved 2010-03-21.
- ^ "JSTOR/Harvard Object Validation Environment - AIFF-hul Module". 2005-05-09. http://hul.harvard.edu/jhove/aiff-hul.html. Retrieved 2010-03-21.
External links
| This article includes a list of references, related reading or external links, but its sources remain unclear because it lacks inline citations. Please improve this article by introducing more precise citations. (July 2009) |
- AIFF file format details
- AIFF file format - Byte order: Big-endian
- Audio Interchange File Format AIFF-C - Draft 08/26/91 - Apple Computer, Inc. - (archive.org backup)
- Creating AIFF Audio Formatted Files - by Paul Bourke - (September 1996)
- Audio Interchange File Format: "AIFF" - A Standard for Sampled Sound Files, Version 1.2
- AIFF / AIFC Sound File Specifications
|
||||||||||||||||||||||||||||||||||||||||||||||
Categories:
|