Difference between revisions of "AIFF Audio"

From XentaxWiki
Jump to: navigation, search
(Local Subchunks Specifications)
(Format Specifications)
 
(3 intermediate revisions by the same user not shown)
Line 16: Line 16:
  
 
x bytes - local subchunks  // e.g. COMM chunk or SSND chunk
 
x bytes - local subchunks  // e.g. COMM chunk or SSND chunk
x bytes - optional chunks
+
x bytes - optional subchunks
 
</pre>
 
</pre>
 
</div>
 
</div>
 +
<br>
  
 
=== Local Subchunks Specifications ===  
 
=== Local Subchunks Specifications ===  
Line 36: Line 37:
 
</pre>
 
</pre>
 
</div>
 
</div>
 +
 +
 +
* Sound Data Chunk
 +
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
 +
<pre>
 +
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
 +
</pre>
 +
</div>
 +
 +
=== 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 ===  
 
=== MultiEx BMS Script ===  

Latest revision as of 22:02, 7 September 2021

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