Introduction
AIFF is an uncompressed audio format made by Apple in 1988, based on the IFF format from Electronic Arts. It holds the same kind of audio as a WAV file, but stores its samples big-endian, the byte order of the Motorola and PowerPC Macs it was made for. It is still common in music production on the Mac.
Two formats share the name. Plain AIFF holds PCM only. AIFF-C, from 1991, adds a compression type, a format version chunk and little-endian PCM, and has a different form type and common chunk, so it is described here as a separate format. A file’s extension does not settle which it is: the form type does.
Variations
| Format | Variation | About | Open |
|---|---|---|---|
.AIFF | Audio Interchange File Format (AIFF) | Apple’s uncompressed audio, big-endian samples in IFF chunks. | Open |
.AIFC | Audio Interchange File Format with compression (AIFF-C) | AIFF with a compression type: PCM in either byte order, floats, µ-law, A-law or a codec. | Open |
Both are one IFF FORM chunk. The four bytes at offset 8 say which format
the file is.
AIFF
Apple’s original format, version 1.3 of January 1989. It holds big-endian two’s-complement PCM of 1 to 32 bits. The common chunk is 18 bytes, and there is no version chunk.
Bytes 0 to 3 are FORM and bytes 8 to 11 are AIFF
(41 49 46 46).
AIFF-C
The extended format. Its common chunk adds a compression type and a name, a
FVER chunk gives the format version, and the audio can be big- or
little-endian PCM, floats, µ-law, A-law or a codec.
Bytes 0 to 3 are FORM and bytes 8 to 11 are AIFC
(41 49 46 43).
Not described
The explorer reads every chunk in Apple’s AIFF 1.3 and AIFF-C specifications and the ones that
libsndfile and FFmpeg read (CHAN, PEAK, basc, ID3, wave),
field by field, and covers every byte of every file it opens: 424 distinct real files on this Mac (and 48 built ones), 0 failures; the samples of the real ones equal afconvert’s. It
plays linear PCM of 1 to 32 bits in either byte order, unsigned 8-bit, IEEE floats, G.711 µ-law and A-law,
Apple IMA 4:1, GSM 06.10, MACE 3:1 and 6:1 (equal to FFmpeg on four real files), QDesign Music 2 (QDM2, equal to FFmpeg within 1 on FATE’s real file) and XA ADPCM in an APCM chunk, with the waveform linked to the bytes. The
24 bytes of an AESD chunk are decoded field by field in words, in the professional layout (EBU Tech 3250, checked against the
free text of AES3-1992) and the consumer layout (IEC 60958-3, with the category codes), with the CRC checked. Files named .aif that are not
AIFF (plain text, a RIFF WAVE, EPOC application information files) are reported as not AIFF.
Both references stay at partial until an independent re-check.
Known, not yet covered
- Added 2026-11-19, decoded and linked to the bytes: G.722, G.726, G.728, iLBC, Microsoft ADPCM and IMA ADPCM
(
ms\0\2,ms\0\x11), Microsoft GSM 6.10 (ms\0 1),dvi8,ADP4,SDX2,CBD2,VAPC(with its codebook as tree fields),DWVWand QDesign Music 1 (QDMC, from the shared port of FFmpeg’sqdmc.c, equal to FFmpeg within 1 on the packets of a real QuickTime movie). The layouts, and the agreement with afconvert and FFmpeg for each, are in compression types. The real SoX/libsndfile files for G.722, G.726, G.728 and GSM write sample frames innumSampleFrames, not packets; the explorer reads both. - Viewer: MPEG audio (
.mp2,.mp3,ms\0U), AAC and Apple Lossless in AIFF-C are named, not decoded: AIFF has no packet table, Core Audio itself cannot read an MP2 stream wrapped in AIFF-C (afinfo: 0 packets,ExtAudioFileRead−66567), afconvert cannot write them and no file or writer is known, so the layout is not defined by anything found. The decoders exist in the explorer (CAF and MP4 use them); only the framing here is unknown. - Viewer: DWVW follows libsndfile’s
dwvw.c, the only description of it. G.728 uses the post-filter of the ITU reference, which FFmpeg’s decoder omits; iLBC differs from Apple’s decoder by 29 to 31 dB (not sample for sample). VADPCM with several predictors is read as the N64 tools define it, which FFmpeg does not do. - Reference and viewer: the Apple Loops chunks
basc,trnsandcate: the meaning of their bytes is unknown beyond the first 18 bytes ofbasc(libsndfile’s fields). Motion’sDrumKit.aifhas an 84-bytebascwhose later bytes are zero, an 868-bytetrnsstarting0001 0031 0010 0000and a 522-bytecate(version 1, then text fields “Drums”, “Drum Kit”, “Rock/Blues” and the descriptors Single, Part, Acoustic, Dry, Clean, Grooving in fixed-size zero-padded slots); the field layouts are not known, so they are shown as bytes. - Viewer: every coding that is decoded is read by window: the waveform at any zoom, Play from any place and the exact peak and RMS levels cover the whole sound, of any length. Linear PCM, floats, A-law and µ-law are read by ranges; IMA4 (its running predictor), GSM 06.10, MACE, XA ADPCM and QDM2 carry state from packet to packet, so they run in order with a saved copy of the decoder state every 4 Mi frames, and a read behind goes back to the nearest copy (tested on sounds of 9 million frames, equal to a whole-file decode at places before and after each copy).
- Viewer: QCELP (
Qclp) is decoded by the shared port of FFmpeg’sqcelpdec.c, with the sound data read as 35-byte units of 160 sample frames, each holding one packet led by its rate byte (35, 17, 8, 4 or 1 bytes) and padding after it: the packets of FFmpeg’s FATE QCP sample put in such units decode to FFmpeg’s samples within 1 in 32,768. That unit is the sample size QuickTime’s sound description gives.Qclqstays named only. - Reference and viewer: what was tried for the other undecoded codings (2026-11-19). ACE 2:1 and 8:3
(Apple IIGS): searched for the algorithm in Apple’s AIFF-C draft (names the schemes, says nothing of the method),
the Apple IIGS Toolbox references, the libsoundGS and other IIGS projects on git.applefritter.com, FFmpeg, libsndfile and
the emulators’ source: no decompressor was found (the emulators do not run the Sound Manager ROM tools); the
saxelchunk’s 48 frames are shown as bytes.rt24/rt29(Voxware): documentation only was allowed, and none was found; the codes are named. Pro Tools chunks (minf,elm1,regn,ovwf,umid,DGDA): no public Avid description was found, so they stay as bytes. IEC 60958-3 is sold; EBU Tech 3250 and the free AES3-1992 text cover theAESDbytes.
Unknown
- Reference and viewer: the Apple IIGS ACE (
ACE2,ACE8) coding: no algorithm is published. Read in full, second search (14 November 2026): the AIFF-C draft (Appendix C: frame sizes 1 and 3 bytes, marker ratios, saxel data is the first 16 bytes of ACE’s direct page, from the Tool Locator’sGetWAPfor tool 29, or the callsGetACEExpState$0D1D andSetACEExpState$0E1D; ACE before version 1.2 cannot be used with AIFF-C) and the Apple IIGS Toolbox Reference Volume 3, chapter 27 (Internet Archive scan of the May 1990 printing). The chapter says only that ACE is an adaptive differential PCM (ADPCM) tool set, that method 1 makes each 8-bit sample a 4-bit code (2:1, 1-byte frames) and method 2 a 3-bit code (8:3, 3-byte frames), that sound is handled in 512-byte blocks, and thatACEExpBeginclears the saved state; it gives no predictor, step-size table or code layout. Also searched, nothing: FFmpeg, libsndfile, sox (no ACE decoder), the Multimedia Wiki and Hydrogenaudio (MACE only), SoundApp’s format list (“does not support ACE”), the 2003 Hydrogenaudio thread asking for an ACE decoder (none exists), GitHub for IIGS tool disassemblies (only game code). A decoder would have to come from disassembling the tool itself. Named, with its frame sizes, not decoded. - Reference and viewer: Voxware RT24 and RT29 (
rt24,rt29): the codec is proprietary and has no open source decoder. Searched again: FFmpeg (no Voxware decoder), the Multimedia Wiki (its Voxware Metavoice page gives the reverse-engineered bit layout of a frame only in part: RT24 4 + 8 + 6 + 35 + 1 bits, RT29 4 + 8 + 41 + 3 × 3 unknown + 5 + 1 bits, with no tables), Kostya’s codec blog (the RT29 tag is used for MetaSound), MPlayer (plays them through Voxware’s Windows ACM driver only). No file or sample was found that carries these codes in an AIFF-C. Named, not decoded. - Reference and viewer: the Digidesign/Avid Pro Tools chunks (
minf,elm1,regn,ovwf,umid,DGDA): only what they are for is public, from Avid user forums, not their layouts: forum posters report thatminfandelm1(elmo) come before the sound andregn,ovwf,umidandDGDAafter it, that together they remember region data, overview data and file IDs, thatregnholds the Pro Tools user and original time stamps andumida unique ID Pro Tools checks to be sure a session points at the right file. Searched, no layout: Avid’s forums, the BWF MetaEdit issue (“useless to anyone other than Avid”), wavinfo, the SoundCheck test files (names only), Kaitai formats. They are shown as bytes. Logic’sLGWVoverview and the saxel data of compression types other than the four Apple lists have no public description either. - Reference: the AES standard itself. The current AES3-2009 (parts 1 to 4) and IEC 60958-3 are paid and not read. A free copy of the
earlier AES3-1992 (r1997) with its Amendments 1 to 4 (McGill University) was found and read, together with EBU Tech 3250, and the professional
layout on the metadata page follows both; the consumer layout rests on alsa-lib’s
asoundef.h(an implementation of IEC 60958-3) and could not be checked against the standard’s own text; the AES3-2009 differences (if any) are not known. - Reference: whether the code for little-endian 24-bit PCM is
42nior libsndfile’s42n1is not settled by any file here; the explorer reads both. Tested 2026-11-19 with Core Audio (afinfo): it reads neither as 24-bit little-endian PCM (onlyin24and23ni), so Apple’s own reader takes neither spelling, and42n1remains the only one a writer (libsndfile) is known to use.
Links
Software
- Logic Pro – Apple’s professional music production app, which records and exports AIFF (macOS)
- GarageBand – Apple’s free music app, which imports and exports AIFF (macOS, iOS)
- Apple Music and QuickTime Player – play AIFF files on the Mac (macOS)
- Audacity – free audio editor that opens and saves AIFF (Windows, macOS, Linux)
- VLC media player – free player for almost any audio or video file (Windows, macOS, Linux, mobile)
- Pro Tools – professional recording and mixing software (Windows, macOS)
- Ableton Live – music production software that uses AIFF for samples and exports (Windows, macOS)
- FFmpeg – command-line tool that converts AIFF to and from other formats (Windows, macOS, Linux)
Developers
- libsndfile – library that reads and writes AIFF and AIFF-C (C)
- python-soundfile – audio file reading and writing, built on libsndfile (Python)
- libavformat – FFmpeg’s container library, which demuxes and muxes AIFF (C)
Reference
- AIFF and AIFF-C file format notes – McGill University’s notes, with the original Apple specifications