MIDI Audio

From XentaxWiki
Jump to: navigation, search

Back to index | Edit this page

MID, MIDI

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


Format Specifications

// MThd chunk header
4 bytes (char) - signature // "MThd"
4 bytes (uint32) - length of the MThd chunk  // always 6

// MThd chunk data
2 bytes (uint16) - format type  // 0 - one single track containing midi data 
                                // 1 - file contains one or more simultaneous tracks
                                // 2 - file contains one or more sequentially independant single-track patterns
2 bytes (uint16) - number of tracks
2 bytes (uint16) - pulses (i.e. clocks) per quarter note (abbreviated as PPQN)


// other chunks
num_of_chunks *
{
   4 bytes (char) - chunk signature  // "MTrk"
   4 bytes (uint32) - length of the chunk
   x bytes - MIDI data
}

MultiEx BMS Script

Not written yet.

Notes and Comments

None.

Games

List of games using this file format:

  • Akuji the Demon (*.MID) (PC)
  • Alonix (*.MID) (PC)
  • Atomaders (*.MID) (PC)
  • Ball Breaker 3D (*.MID) (PC)
  • Blood
  • Boppin
  • Duke Nukem 3D
  • Hi Octane
  • Hocus Pocus
  • Ksiaze i Tchorz (*.MID) (PC)
  • Magic Pockets
  • Prince of Persia
  • Rise of the Triad
  • Sango Fighter
  • Shadow Warrior
  • SimCity 2000
  • Wacky Wheels
  • Where In the World Is Carmen Sandiego?

Compatible Programs

  • Media Player Classic
  • Winamp

See Also