MusicXML
|
MusicXML is an open, XML-based music notation file format.
It was developed by Recordare, LLC, deriving several key concepts from existing academic formats (such as Walter Hewlett's Musedata and David Huron's Humdrum). It is designed for the interchange of scores, particularly between different scorewriters.
The MusicXML standard is defined by a series of document type definitions (DTDs) which are each freely redistributable under the MusicXML Document Type Definition Public License.
Example
Like all XML-based formats, MusicXML is easy for automated tools to parse and manipulate. Though it is possible to create MusicXML by hand, interactive score writing programs like Rosegarden and Finale greatly simplify the reading, writing, and modifying of MusicXML files.
The following example is a score consisting of a single, whole middle C in the key of C major.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd"> <score-partwise> <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>
What you get looks like this: Missing image
MusicXML_Cnatural.png
c natural, clef treble in 4/4
See also
External links
- MusicXML homepage (http://musicxml.org/xml.html)
- MusicXML DTD index (http://www.recordare.com/dtds/index.html)
- MusicXML Document Type Definition Public License (http://www.recordare.com/dtds/license.html)