AIFF Audio

From XentaxWiki
Revision as of 22:02, 7 September 2021 by Ikskoks (talk | contribs) (Format Specifications)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to index | Edit this page

AIFF

  • Format Type : Audio
  • Endian Order : Big Endian
  • Signature : FORM


Format Specifications

4 bytes (char) - chunk ID // "FORM"
4 bytes (uint32) - chunk size
4 bytes (char) - form type  // "AIFF" - sampled audio

x bytes - local subchunks  // e.g. COMM chunk or SSND chunk
x bytes - optional subchunks


Local Subchunks Specifications

  • Common Chunk
4 bytes (char) - chunk ID // "COMM"
4 bytes (uint32) - chunk size
2 bytes (uint16) - numer of audio channels  // 1 - monophonic sound
                                            // 2 - stereo sound
                                            // 4 - four channel sound
4 bytes (uint32) - number of sample frames
2 bytes (uint16) - sample size // e.g. 16
8 bytes (float) - sample rate
x bytes - padding


  • Sound Data Chunk
4 bytes (char) - chunk ID // "SSND"
4 bytes (uint32) - chunk size
4 bytes (uint32) - offset of the first sample frame  // can be 0
4 bytes (uint32) - block size  // can be 0
x bytes - sound data

Optional Subchunks

  • Marker Chunk (ID = MARK)
  • Instrument Chunk (ID = INST)
  • MIDI Data Chunk (ID = MIDI)
  • Audio Recording Chunk (ID = AESD)
  • Application Specific Chunk (ID = APPL)
  • Comments Chunk (ID = COMT)
  • Text Chunk - Name (ID = NAME)
  • Text Chunk - Author (ID = AUTH)
  • Text Chunk - Copyright (ID = (c) )
  • Text Chunk - Annotation (ID = ANNO)


MultiEx BMS Script

Not written yet.

Notes and Comments

None.

Games

List of games using this file format:

  • TODO

Compatible Programs

  • Winamp

See Also