Extension: | .musicxml, .mxl |
Mime: | application/vnd.recordare.musicxml+xml,[1] application/vnd.recordare.musicxml[2] |
Owner: | W3C Music Notation Community Group |
Latest Release Version: | 4.0 |
Latest Release Date: | June 2021[3] |
Genre: | Musical notation |
Extended From: | XML |
Open: | Yes |
MusicXML is an XML-based file format for representing Western musical notation. The format is open, fully documented, and can be freely used under the W3C Community Final Specification Agreement.[4] [5]
MusicXML was invented by Michael Good and initially developed by Recordare LLC. It derived several key concepts from existing academic formats (such as Walter Hewlett's ASCII-based MuseData[6] and David Huron's Humdrum).[7] It is designed for the interchange of scores, particularly between different scorewriters. MusicXML development was managed by MakeMusic following the company's acquisition of Recordare in 2011.[8] [9] MusicXML development was transferred to the W3C Music Notation Community Group in July 2015.[10]
Version 1.0 was released in January 2004. Version 1.1 was released in May 2005 with improved formatting support. Version 2.0 was released in June 2007 and included a standard compressed format.[11] All of these versions were defined by a series of document type definitions (DTDs). An XML Schema Definition (XSD) implementation of Version 2.0 was released in September 2008. Version 3.0 was released in August 2011 with improved virtual instrument support, in both DTD and XSD versions.[12] [13] Version 3.1 was released in December 2017 with improved support for the Standard Music Font Layout (SMuFL).[14] Version 4.0 was released in June 2021 and resolved multiple issues.[15]
The MusicXML DTDs and XSDs are each freely redistributable under the W3C Community Final Specification Agreement.
, MusicXML is supported to varying degrees by over 260 notation programs.[16] [17] These programs include:
Additionally, web support is possible through the use of the HTML5 canvas element and JavaScript resulting in the rendering of legible music within a web browser.[18]
Features include key and time signatures, clefs, beaming information, stem directions, slurs, ornaments, barlines, and written repeats.[19]
Like all XML-based formats, MusicXML is intended to be easy for automated tools to parse and manipulate. Though it is possible to create MusicXML by hand, interactive score writing programs like Finale and MuseScore greatly simplify the reading, writing, and modifying of MusicXML files.
The following example is a score consisting of a single whole note middle C in the key of C major on the treble clef.[20]
1
The textual representation listed above is verbose; MusicXML v2.0 addresses this by adding a compressed zip format with a suffix that can make files roughly one-twentieth the size of the uncompressed version.[21]