ArticleslgStudy

computer science

Audio Interchange File Format

Audio Interchange File Format is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Audio Interchange File Format rather than just read about it. In short: Audio Interchange File Format (AIFF) is a lossless audio file format standard used for storing sound data for personal computers and other electronic audio devices. The format was developed by Apple Inc. 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.

Key takeaways

  • Audio Interchange File Format belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Audio Interchange File Format to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Audio Interchange File Format from memory before moving on to harder problems.

Reference excerpt

Audio Interchange File Format (AIFF) is a lossless audio file format standard used for storing sound data for personal computers and other electronic audio devices. The format was developed by Apple Inc. 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. It has remained largely unchanged since its original specification. The audio data in most AIFF files is uncompressed pulse-code modulation (PCM). This type of AIFF file uses much more disk space than lossy formats like MP3—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 as AIFF-C or AIFC, with various defined compression codecs. 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 format the preferred suffix is .aifc, but audio applications supporting the format also allow .aiff or .aif.

AIFF on macOS

With the development of the OS X operating system now known as macOS, Apple created a new type of AIFF which is, in effect, an alternative little-endian byte order format. 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. Apple uses this new little-endian AIFF type as its standard on macOS. 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 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.

AIFF Apple Loops Apple also created an extension to the AIFF format in the form of Apple Loops used by GarageBand and Logic Pro, 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. Apple Loops use either the .aiff (or .aif) or .caf 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

Metadata AIFF files can store metadata in Name, Author, Comment, Annotation, and Copyright chunks. An ID3v2 tag chunk can also be embedded in AIFF files, as well as an Application Chunk with Extensible Metadata Platform (XMP) data in it.

Common compression types 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:

See also Apple Lossless (ALAC) FLAC WAV RIFF, the little-endian format corresponding to IFF OSType FourCC

References

External links Audio Interchange File Format AIFF-C – Draft 08/26/91 – Apple Computer, Inc. – (archive.org backup) AIFF / AIFC Sound File Specifications – Draft 17/11/17 – (archive.org backup)

Worked examples

Example 1 — a first encounter with Audio Interchange File Format

Start with the simplest possible case. Write down what Audio Interchange File Format claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Audio Interchange File Format before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Audio Interchange File Format ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Audio Interchange File Format

In research
Audio Interchange File Format appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Audio Interchange File Format in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Audio Interchange File Format is common in secondary-school and first-year university syllabi. It links to neighbouring topics Apple Inc. software, Audio file formats, Digital container formats, so understanding it makes those chapters shorter.
In everyday life
Look for Audio Interchange File Format outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Audio Interchange File Format” →

How to study Audio Interchange File Format in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Audio Interchange File Format means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Audio Interchange File Format out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Audio Interchange File Format in simple terms?

Audio Interchange File Format (AIFF) is a lossless audio file format standard used for storing sound data for personal computers and other electronic audio devices. The format was developed by Apple Inc. in 1988 based on Electronic Arts' Interchange File Format (IFF, widely used on Amiga systems) a…

Why does Audio Interchange File Format matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Audio Interchange File Format?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Audio Interchange File Format.

Tags

  • Apple Inc. software
  • Audio file formats
  • Digital container formats

Keep exploring