MOD Audio: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
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> | ||
// MOD file format | |||
20 bytes (char) - song name // e.g. "Mod.Fantasy" or can be empty | |||
num_of_samples * | |||
{ | |||
20 bytes (char) - sample name | |||
2 bytes (uint16) - sample length | |||
1 byte (uint8) - finetune value // 0 = 0 | |||
// 1 = +1 | |||
// 2 = +2 | |||
// etc. | |||
1 byte (uint8) - volume // in range 0x00 - 0x40 | |||
2 bytes (uint16) - repeat point | |||
2 bytes (uint16) - repeat length | |||
} | |||
// TODO | // TODO | ||
</pre> | </pre> | ||
Revision as of 10:00, 15 June 2022
Back to index | Edit this page
MOD
- Format Type : Audio
- Endian Order : Little Endian
- Signature : M.K. (always at offset 0x438)
Format Specifications
// MOD file format
20 bytes (char) - song name // e.g. "Mod.Fantasy" or can be empty
num_of_samples *
{
20 bytes (char) - sample name
2 bytes (uint16) - sample length
1 byte (uint8) - finetune value // 0 = 0
// 1 = +1
// 2 = +2
// etc.
1 byte (uint8) - volume // in range 0x00 - 0x40
2 bytes (uint16) - repeat point
2 bytes (uint16) - repeat length
}
// TODO
Notes and Comments
None.
Games
List of games using this file format:
- WarHeads SE (PC) (*.MOD)
QuickBMS Script
Not written yet.
Compatible Programs
- Winamp
See Also