HOME

TheInfoList



OR:

MusicXML is an
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. ...
-based
file format A file format is a Computer standard, standard way that information is encoded for storage in a computer file. It specifies how bits are used to encode information in a digital storage medium. File formats may be either proprietary format, pr ...
for representing Western
musical notation Music notation or musical notation is any system used to visually represent aurally perceived music played with instruments or sung by the human voice through the use of written, printed, or otherwise-produced symbols, including notation fo ...
. The format i
open
fully documented, and can be freely used under the W3C Community Final Specification Agreement.


History

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
score Score or scorer may refer to: *Test score, the result of an exam or test Business * Score Digital, now part of Bauer Radio * Score Entertainment, a former American trading card design and manufacturing company * Score Media, a former Canadian m ...
s, 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 definition A document type definition (DTD) is a set of ''markup declarations'' that define a ''document type'' for an SGML-family markup language ( GML, SGML, XML, HTML). A DTD defines the valid building blocks of an XML document. It defines the document st ...
s (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). Version 4.0 was released in June 2021 and resolved multiple issues. The MusicXML DTDs and XSDs are each freely redistributable under the W3C Community Final Specification Agreement.


Support

, MusicXML is supported to varying degrees by over 260 notation programs. These programs include: * Most scorewriting programs, including
Finale Finale may refer to: Pieces of music * Finale (music), the last movement of a piece * ''Finale'' (album), a 1977 album by Loggins and Messina * "Finale B", a 1996 song from the rock opera ''Rent'' * "Finale", a song by Anthrax from ''State of Eu ...
, Dorico, Sibelius, and MuseScore * Most optical music recognition programs, including SmartScore, PhotoScore and Audiveris * Most
music sequencer A music sequencer (or audio sequencer or simply sequencer) is a device or application software that can record, edit, or play back music, by handling Musical note, note and performance information in several forms, typically CV/Gate, MIDI, or O ...
programs, including
Cubase Cubase is a digital audio workstation (DAW) developed by Steinberg for music and MIDI recording, arranging and editing. The first version, which was originally only a MIDI sequencer and ran on the Atari ST computer, was released in 1989. Cut-d ...
, Logic Pro, Digital Performer, and
SONAR Sonar (sound navigation and ranging or sonic navigation and ranging) is a technique that uses sound propagation (usually underwater, as in submarine navigation) to navigate, measure distances ( ranging), communicate with or detect objects on ...
Additionally, web support is possible through the use of the
HTML5 HTML5 is a markup language used for structuring and presenting content on the World Wide Web. It is the fifth and final major HTML version that is a World Wide Web Consortium (W3C) recommendation. The current specification is known as the HT ...
canvas element and
JavaScript JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of Website, websites use JavaScript on the Client (computing), client side ...
resulting in the rendering of legible music within a
web browser A web browser is application software for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's screen. Browsers are used on ...
. Features include key and
time signature The time signature (also known as meter signature, metre signature, or measure signature) is a notational convention used in Western culture, Western musical notation to specify how many beat (music), beats (pulses) are contained in each measu ...
s,
clef A clef (from French: 'key') is a musical symbol used to indicate which notes are represented by the lines and spaces on a musical stave. Placing a clef on a stave assigns a particular pitch to one of the five lines, which defines the pit ...
s, beaming information,
stem Stem or STEM may refer to: Plant structures * Plant stem, a plant's aboveground axis, made of vascular tissue, off which leaves and flowers hang * Stipe (botany), a stalk to support some other structure * Stipe (mycology), the stem of a mushr ...
directions, slurs, ornaments, barlines, and written repeats.


Example

Like all XML-based formats, MusicXML is intended to be easy for automated tools to
parse Parsing, syntax analysis, or syntactic analysis is the process of analyzing a string of symbols, either in natural language, computer languages or data structures, conforming to the rules of a formal grammar. The term ''parsing'' comes from Lati ...
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 C or Do is the first note and semitone of the C major scale, the third note of the A minor scale (the relative minor of C major), and the fourth note (G, A, B, C) of the Guidonian hand, commonly pitched around 261.63  Hz. The actual fre ...
in the key of
C major C major (or the key of C) is a major scale based on C, consisting of the pitches C, D, E, F, G, A, and B. C major is one of the most common keys used in music. Its key signature has no flats or sharps. Its relative minor is A minor a ...
on the treble clef. Music 1 0 G 2 C 4 4 whole The textual representation listed above is verbose; MusicXML v2.0 addresses this by adding a compressed
zip Zip, Zips or ZIP may refer to: Common uses * ZIP Code, USPS postal code * Zipper or zip, clothing fastener Science and technology Computing * ZIP (file format), a compressed archive file format ** zip, a command-line program from Info-ZIP * Zi ...
format with a suffix that can make files roughly one-twentieth the size of the uncompressed version.


See also

* List of document markup languages *
Comparison of document markup languages The following tables compare general and technical information for a number of document markup languages. Please see the individual markup languages' articles for further information. General information Basic general information about the marku ...
*
MIDI MIDI (; Musical Instrument Digital Interface) is a technical standard that describes a communications protocol, digital interface, and electrical connectors that connect a wide variety of electronic musical instruments, computers, an ...
* Music Encoding Initiative (MEI) * Music Markup Language * Notation Interchange File Format (NIFF) * Scorewriter


References


External links


MusicXML 4.0 Final Community Group ReportW3C Music Notation Community GroupMusicXML viewer
a
Soundslice
at IEEE.org {{DEFAULTSORT:Musicxml XML-based standards Industry-specific XML-based standards Music notation file formats Musical markup languages Computer-related introductions in 2004 World Wide Web Consortium standards