Recordare Main Navigation Menu Recordare

MusicXML Definition

Version 2.0

Overview - What's New - Files - More Information


Overview

"Word-processing and spreadsheet programs have been sharing formats for years, so you can write in one program and share your results with people who prefer something different. Finally, the musical world has realised that it needs the same thing. Its name is MusicXML." - David Hewson, The Sunday Times, August 29, 2004

Recordare has developed MusicXML™ technology to create an Internet-friendly method of publishing musical scores, enabling musicians and music fans to get more out of their online music. MusicXML 2.0 files will soon serve the same role for interactive sheet music that MP3 files serve for recorded music.

The MusicXML format represents common Western musical notation from the 17th century onwards. It lets you distribute interactive sheet music online, and to use sheet music files with a wide variety of musical applications. The MusicXML format is open for use by anyone under a royalty-free license, and is supported by over 100 applications:

Map of MusicXML software support

What's New

The Version 2.0 Document Type Definition (DTD) was released in June 2007. The big change is the addition of many features to make the MusicXML format better suited for distributing interactive sheet music online. This includes a compressed version of the MusicXML format that makes MusicXML files about 20 times smaller than the uncompressed version, roughly the same size as the corresponding MIDI files. The MusicXML version history summarizes the changes since version 1.0.

The W3C XML Schema Definition (XSD) was released in September 2008. The XSD version of MusicXML 2.0 is a stricter definition of the MusicXML format than the DTD. Restrictions that were previously only included in the MusicXML documentation are now part of the MusicXML schema language itself. The XSD will thus catch many more errors during validation than was possible with the DTD. This should lead to higher quality interchange software and a more reliable experience for MusicXML users. The XSD also makes MusicXML easier to use with the latest XML technologies, including XQuery, XML databases, and XML code generators. The Dolet 4 for Finale plug-in offers registered users the option to validate MusicXML files against the MusicXML XSD starting with version 4.5.

The MusicXML tutorial has been updated for MusicXML 2.0 and the release of the MusicXML 2.0 XSD. It includes new sections on chord symbols, chord diagrams, and compressed .mxl files.

The MusicXML alphabetical index lists each of the 95 new features in version 2.0. The index is also available as an Excel file. Each entry includes a brief description and a reference to the defining DTD file. Version 2.0 adds features to versions 1.1 and 1.0,  so every valid MusicXML 1.0 and 1.1 file is also a valid MusicXML 2.0 file.

MusicXML programs are in the midst of adding MusicXML 2.0 support. Finale 2009 reads and writes MusicXML 2.0 files in both compressed and uncompressed formats. The Myriad Music Plug-In provides a web browser plug-in for MusicXML 2.0 files. Sibelius 5.1 added support for reading MusicXML 2.0 files. PDFtoMusic Pro added MusicXML 2.0 support in its version 1.1 release.

Two recent MusicXML presentations are now available online:

Files

Download the MusicXML 2.0 definition here:

A MusicXML 2.0 tutorial for software developers is available in both HTML and PDF format, including a MusicXML FAQ. This is the easiest starting point for learning about MusicXML.

A set of 18 musical examples is available in XML and graphic formats. These include songs for voice and piano, a song for voice and guitar tablature, an orchestral excerpt, and some instrumental music. A MusicXML 2.0 example, Scott Joplin's Elite Syncopations, is also available in several formats, including XML, musicRAIN, PDF, MIDI, MP3, and the Myriad Music Plug-in.

The different MusicXML elements, attributes, and entities are listed in an alphabetical index, also available as an Excel file. Each entry includes a brief description and a reference to the defining DTD file.

If you start doing a MusicXML implementation, you will need to refer to the actual MusicXML Document Type Definitions (DTDs) or W3C XML Schema Definitions (XSD). These are distributed under the MusicXML Document Type Definition Public License 2.0. All the component DTDs are listed in the MusicXML DTD Index, and all components XSDs are listed in the MusicXML XSD Index. Most browsers do not display DTDs directly, so you will probably want to look at the HTML versions of these files.

The two main top-level DTDs are partwise.dtd and timewise.dtd. These two DTDs are combined in a single musicxml.xsd file. Two XSLT stylesheets (parttime.xsl and timepart.xsl) are provided to convert between the partwise and timewise formats. The compressed file format is described in the container.dtd file. Multiple movements or other musical collections are represented using opus.dtd or opus.xsd. The opus document contains XLinks to individual scores, and will evolve to include more detailed reference and musicological information. There is also a midixml.dtd for representing Standard MIDI Files in XML.

More Information

To keep updated on the progress of MusicXML technology, you may subscribe to our e-mail announcement list, our MusicXML discussion list, or both.

There are now many publications from authors all over the world describing their MusicXML experiences and evaluations, together with press coverage about Recordare and its MusicXML technology. Here are some of the more detailed papers and presentations from Recordare:

We welcome your questions and comments about MusicXML at:

info at recordare dot com


In the beginning was the Note®

Home - Music - Software - MusicXML - Events - Search - Store - About Us

Copyright © 2008 Recordare LLC.

Last updated November 10, 2008.