Introduction
A .med file is a music module of the MED family of trackers: MED, OctaMED and OctaMED
Soundstudio. It can hold more than one song. The format has four versions, named MMD0 to MMD3 after the bytes
that start the file. Files are also found named .mmd0 or .mmd1 after the version.
Structure
A 52-byte big-endian header starts with MMD and a version character from 0 to
3. It gives the file length and the offsets of the song, the pattern blocks, the samples and the
extension data, and the number of songs. Further songs in the same file begin with MCN.
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: the song structures, pattern blocks, instruments and extension data of the four versions, which open source module players show.
- Viewer: the site has no viewer for this format.
Links
Software
- OpenMPT – module tracker and player for Windows
Reference
- OpenMPT Load_med.cpp – the OctaMED and MED Soundstudio loader, the source used for this page (C++)