MIDI Audio: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks (Created page with "{{GRAFPageHeader}} == MID, MIDI == * ''' Format Type ''': Audio <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Big Endian <br> * ''' Signature ''...") |
imported>Ikskoks |
||
| Line 11: | Line 11: | ||
<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:800px; overflow:auto;"> | ||
<pre> | <pre> | ||
//header | // MThd chunk header | ||
4 bytes (char) - signature // "MThd" | 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 | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
Revision as of 23:40, 29 January 2022
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:
- Ksiaze i Tchorz (*.MID) (PC)
Compatible Programs
- Media Player Classic
- Winamp