Difference between revisions of "Mohawk MIDI"
From A look inside The Link @ wiki
(first parts of the Mohawk MIDI format) |
m (→The Header: oops!) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | This is the Mohawk MIDI format. | + | This is the Mohawk MIDI format. It resembles the [[Mohawk archive format]] and [[Mohawk Sounds]] format. And, it's just a wrapper around the [http://faydoc.tripod.com/formats/mid.htm standard MIDI format]. It is in Big Endian order. |
− | + | ||
− | It resembles the [[Mohawk archive format]] and [[Mohawk Sounds]] format. | + | |
== The Header == | == The Header == | ||
Line 13: | Line 11: | ||
*''mhwk_magic'' is the string 'MHWK'. It's equal to the [[Mohawk archive format#IFF header|Mohawk format signature]]! | *''mhwk_magic'' is the string 'MHWK'. It's equal to the [[Mohawk archive format#IFF header|Mohawk format signature]]! | ||
− | *''size'' is the effective resource size | + | *''size'' is the effective resource size. |
*''midi_magic'' is the string 'MIDI'. | *''midi_magic'' is the string 'MIDI'. | ||
Line 19: | Line 17: | ||
== The MThd Chunk == | == The MThd Chunk == | ||
− | + | See [http://faydoc.tripod.com/formats/mid.htm here] for information on this chunk. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== The Prg# Chunk == | == The Prg# Chunk == | ||
Line 43: | Line 33: | ||
== The MTrk Chunk == | == The MTrk Chunk == | ||
− | + | See [http://faydoc.tripod.com/formats/mid.htm here] for information on this chunk. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 23:03, 17 September 2008
This is the Mohawk MIDI format. It resembles the Mohawk archive format and Mohawk Sounds format. And, it's just a wrapper around the standard MIDI format. It is in Big Endian order.
The Header
4 bytes | mhwk_magic |
unsigned long | size |
4 bytes | midi_magic |
- mhwk_magic is the string 'MHWK'. It's equal to the Mohawk format signature!
- size is the effective resource size.
- midi_magic is the string 'MIDI'.
After this header come the chunks. Until now, 3 chunk types have been identified: 'MThd', 'Prg#' and 'MTrk'.
The MThd Chunk
See here for information on this chunk.
The Prg# Chunk
(MIDI Programs?)
unsigned long | chunk_size |
unsigned short | u0 |
unsigned short | u1 |
unsigned short | u2 |
The MTrk Chunk
See here for information on this chunk.