MIDI Audio: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(20 intermediate revisions by the same user not shown)
Line 9: Line 9:
=== Format Specifications ===  
=== Format Specifications ===  


<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:1000px; overflow:auto;">
<pre>
<pre>
// MThd chunk header
// MThd chunk header
Line 43: Line 43:
=== Games ===  
=== Games ===  
List of games using this file format:
List of games using this file format:
* Akuji the Demon (*.MID) (PC)
* Alonix (*.MID) (PC)
* Atoll (*.MID) (PC)
* Atomaders (*.MID) (PC)
* Ball Breaker 3D (*.MID) (PC)
* Blood
* Boppin
* Duke Nukem 3D
* Hi Octane
* Hocus Pocus
* Ksiaze i Tchorz (*.MID) (PC)
* 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 ===  
=== Compatible Programs ===  
Line 49: Line 67:
* Media Player Classic
* Media Player Classic
* Winamp
* Winamp
=== See Also ===
* [https://moddingwiki.shikadi.net/wiki/MID_Format MID file format (modding wiki)]
<br/><br>
<br/><br>




[[Category:Complete WIP|MIDI Audio]]
[[Category:Complete Almost Done|MIDI Audio]]
[[Category:Platform PC|MIDI Audio]]
[[Category:Platform PC|MIDI Audio]]
[[Category:CE None|MIDI Audio]]
[[Category:CE None|MIDI Audio]]

Latest revision as of 07:19, 13 June 2023

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)
  • Atoll (*.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