fbpx

About XMF

XMF is a family of specifications created and administered by the MIDI Manufacturer's Association. An XMF file contains one or more existing files – such as Standard MIDI Files, Downloadable Sound (DLS) instrument files, WAV files, or other digital audio files, etc. – to create a collection of all the resources needed to present a musical piece, an interactive web page soundtrack, or any other piece of media using pre-produced sound elements.

The XMF Meta-File Format (RP-030)

The XMF Meta File format is designed to keep file sizes as small as possible, in order to be useful on systems ranging from small-footprint mobile devices like cell phones to desktop/laptop computers to high-power web servers. It also has no maximum file size, so it could be used to store very large collections if desired. To support international music data commerce, the meta-data that travels with the resources can be International, keyed to the user's language and the country in which playback is happening – so in an XMF album, the liner notes could change language depending on who's listening.

» XMF Meta File Format 1.01 Update (RP-039)

Some fixes and enhancements resulting in Version 1.01 of the XMF Meta File Format and Type 0/1 XMF files. The XMF 1.01 Update (pdf) to the 1.0 Specification is available for free download.

» XMF Meta File Format 2.00 Update (RP-043)

This change to the header format makes it easier to assign MIME Media Types to new XMF File Types, starting with Mobile XMF. The XMF 2.00 Update (pdf) to the 1.0 Specification is available for free download.

XMF File Types

XMF Type 0 and XMF Type 1 Files (RP-031) contain Standard MIDI Files that can use General MIDI instruments (provided by a player), and custom DLS instruments (provided in the XMF File). The MIDI files and the DLS files are bound together in the XMF file, rather than traveling separately where they can get lost. Type 0 and Type 1 are identical, except that in Type 0 the MIDI data may be streamed.

XMF Type 2 Files are also called Mobile XMF Files (RP-042). Mobile XMF was developed specifically for mobile phones, and supports SP-MIDI format SMF files as well as Mobile DLS content. It uses the new version 2 Meta File Format specification (RP-043), which enables MIME Type support.

XMF Type 3 Files are also called Audio Clips for Mobile XMF Files (RP-045). XMF Type 3 makes XMF a rich recorded music format by allowing digital audio clips to be placed on the MIDI timeline (not just MIDI instruments). The audio clips can use various codecs (if registered with MMA/AMEI), and the files can include ID3 metadata (like MP3). Additionally, if Mobile Phone Control messages are included (see RP-046), XMF Type 3 content can use MIDI to control LEDs, vibras, and other non-audio output devices.

XMF Type 4 files are called Interactive XMF (iXMF) files. Interactive XMF is the world's first open format for interactive audio content.

XMF Enhancements

  • UnPackerID for ZLIB (RP-040): enabling ZLIB compression to be used in an XMF file
  • ID3 Meta-data Tags for XMF (RP-047): adds ID3 tags to any XMF file

XMF Registered IDs

The XMF Specification defines XMF UnPackerIDs and ResourceFormatIDs that may only be obtained from the MMA, and must be registered before use, to prevent collision with other XMF implementations. The official public list of Registered IDs is available on this web site by clicking here. To apply for an XMF Registered ID, please contact the MMA via this site's contact form.

To learn more about XMF, visit this site's FAQ page.

Download the "XMF Specification and All Recommended Practices (V. 1.2, 2007)

(Includes: RP-030, RP-031, RP-032, RP-039, RP-040, RP-042, RP-043, RP-045, and RP-047)
(Please Register, It's Free!)