- Audio Interchange File Format
Infobox file format
name = Audio Interchange File Format
icon =
extension = .aiff
.aif
.aifc
mime = audio/x-aiff
audio/aiff
type code = AIFF
uniform type = public.aiff-audio
public.aifc-audio
owner =Apple Inc.
genre = audio file
container for =
contained by =
extended from = IFF (File format)
extended to =
standard =Audio Interchange File Format (AIFF) is an
audio file format standard used for storingsound data forpersonal computers and other electronic audio devices. The format was co-developed byApple Computer in 1988 [http://www.edcox.net/research/ma/ma1-aiff.asp] based onElectronic Arts 'Interchange File Format (IFF, widely used onAmiga systems) and is most commonly used onApple Macintosh computer systems. AIFF is also used by Silicon Graphics Incorporated.The audio data in a standard AIFF file is uncompressed big-endian
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 andWAV ) used by professional-level audio and video applications, as unlike the better-knownlossy MP3 format, it is non-compressed (which aids rapid streaming of multiple audio files from disk to the application), andlossless . 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.1k and a bit depth of 16 bits. In addition to audio data, AIFF can includeloop 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.
AIFF on Mac OS X
With the development of the
Mac OS X operating system, Apple quietly created a new type of AIFF which is, in effect, an alternativelittle-endian byte order format.Because the AIFF architecture has no provision for alternate byte order, Apple used the existing AIFF-C compression architecture, and created a "pseudo-compressed" codec called sowt. 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.
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 disc 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.What meaning sowt may have as an acronym or abbreviation does not appear to be documented, but it is probably the reverse of "twos", the big-endian designation for twos-complement format.
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 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 displays 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 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 [http://www.apple.com/logicpro/appleloops.html] used byGarageBand andLogic Audio , 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.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 ChunkSee also
*
Apple Lossless
*FLAC
*WAV
* RIFF
*OSType
*FourCC External links
* [http://muratnkonar.com/aiff/index.html AIFF file format details] BROKEN on 7/7/08, redirected on 7/30/08
* [http://www.onicos.com/staff/iz/formats/aiff.html AIFF file format details]
* [http://www.cnpbagwell.com/aiff-c.txt AIFC official specification]
Wikimedia Foundation. 2010.