|Internet media type|
|Developed by||W3C Music Notation Community Group|
|Type of format||Musical notation|
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.
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 and David Huron's Humdrum). 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. MusicXML development was transferred to the W3C Music Notation Community Group in July 2015.
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. 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. Version 3.1 was released in December 2017 with improved support for the Standard Music Font Layout (SMuFL). The MusicXML DTDs and XSDs are each freely redistributable under the W3C Community Final Specification Agreement.
- Most scorewriting programs, including Finale, Dorico, Sibelius, and MuseScore.
- Most Music OCR programs, including SmartScore, PhotoScore and Audiveris.
- Most music sequencer programs, including Cubase, Logic Pro, Digital Performer, and SONAR.
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.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.1 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd"> <score-partwise version="3.1"> <part-list> <score-part id="P1"> <part-name>Music</part-name> </score-part> </part-list> <part id="P1"> <measure number="1"> <attributes> <divisions>1</divisions> <key> <fifths>0</fifths> </key> <time> <beats>4</beats> <beat-type>4</beat-type> </time> <clef> <sign>G</sign> <line>2</line> </clef> </attributes> <note> <pitch> <step>C</step> <octave>4</octave> </pitch> <duration>4</duration> <type>whole</type> </note> </measure> </part> </score-partwise>
The textual representation listed above is verbose; MusicXML v2.0 addresses this by adding a compressed zip format with a .mxl suffix that can make files roughly one-twentieth the size of the uncompressed version.
- List of document markup languages
- Comparison of document markup languages
- Music Encoding Initiative (MEI)
- Music Markup Language
- Notation Interchange File Format (NIFF)
- "Type name: application : Subtype name: vnd.recordare.musicxml+xml". Iana.org. Retrieved 24 November 2014.
- "Type name: application : Subtype name: vnd.recordare.musicxml". Iana.org. Retrieved 24 November 2014.
- "Working group releases its first MusicXML update". ScoringNotes.com. NYC Music Services. Retrieved 19 December 2017.
- "Sustainability of Digital Formats Planning for Library of Congress Collections — MusicXML, Version 3.1". Library of Congress. 9 May 2019. Retrieved 15 October 2020.
- "W3C Community Final Specification Agreement". W3C. Retrieved 19 December 2017.
- Hewlett, Walter B. (1997). "Chapter 27: MuseData: Multipurpose Representation". In Selfridge-Field, Eleanor (ed.). Beyond MIDI: The Handbook of Musical Codes. MIT Press. pp. 402–447. ISBN 0-262-19394-9.
- Good, Michael. "MusicXML: An Internet-Friendly Format for Sheet Music". citeseerx.ist.psu.edu. Retrieved 23 August 2020.
- "Recordare Closing Release" (PDF). Makemusic.com. Retrieved 13 December 2014.
- Phelps, David. "MakeMusic acquires assets of Internet music company". StarTribune. Retrieved 15 October 2020.
- "Beyond iTunes: XML boffins target sheet music". The Register. Retrieved 19 December 2017.
- "Compressed MXL Files". MusicXML. Retrieved 27 June 2014.
- "Version History of MusicXML". Musicxml.com. Retrieved 27 June 2014.
- "News: Recordare Adds Finale 2010 Support to Dolet 5 for Finale Plug-In".
- "Software". MusicXML. Retrieved 15 October 2020.
- "File format". MuseScore. Retrieved 27 June 2014.
- "HTML5 MusicXML Viewer". Musicxml-viewer.com. 15 May 2012. Archived from the original on 3 April 2016. Retrieved 27 June 2014. Source code available in Google Code, Github and Bitbucket.
- Kirlin, Phillip B.; Utgoff, Paul E. (2008). Bello, Juan Pablo; Chew, Elaine; Turnbull, Douglas (eds.). A Framework for Automated Schenkerian Analysis. ISMIR 2008: Proceedings of the 9th International Conference on Music Information Retrieval. Drexel University, Philadelphia, Pennsylvania. pp. 363–368 at 365. ISBN 978-0-615-24849-3.
- "Hello World: A One-Bar Song with a Whole Note on Middle C in 4/4 time". Musicxml.com. Retrieved 19 December 2017.
- "MusicXML FAQ". MusicXML. Retrieved 13 December 2014.