Difference between revisions of "MEI"
Jump to navigation
Jump to search
(Created page with "[https://www.music-encoding.org MEI] is a digital format for musical scores in the XML data structure. The acronym stands for "Music Encoding Initiative", and it is modeled a...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[https://www.music-encoding.org MEI] is a digital format for musical scores in the XML data structure. The acronym stands for "Music Encoding Initiative", and it is modeled after TEI, the [https://tei-c.org Text Encoding Initiative]. | [https://www.music-encoding.org MEI] is a digital format for musical scores in the XML data structure. The acronym stands for "Music Encoding Initiative", and it is modeled after TEI, the [https://tei-c.org Text Encoding Initiative]. | ||
+ | == Purpose == | ||
+ | |||
+ | MEI is intended as a data representation for critical editions of music. This means that variants between different editions can be encoded within the same document. See [https://music-encoding.org/guidelines/v4/content/scholarlyediting.html this chapter] in the MEI Guidelines for an explanation of this feature. | ||
+ | |||
+ | == Example == | ||
+ | |||
+ | |||
+ | |||
+ | [[File:meiexample.png|200px||center]] | ||
+ | |||
+ | <pre> | ||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <?xml-model href="https://music-encoding.org/schema/4.0.0/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?> | ||
+ | <?xml-model href="https://music-encoding.org/schema/4.0.0/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> | ||
+ | <mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="4.0.0"> | ||
+ | <meiHead> | ||
+ | <fileDesc> | ||
+ | <titleStmt> | ||
+ | <title /> | ||
+ | </titleStmt> | ||
+ | <pubStmt /> | ||
+ | </fileDesc> | ||
+ | </meiHead> | ||
+ | <music> | ||
+ | <body> | ||
+ | <mdiv> | ||
+ | <score> | ||
+ | <scoreDef> | ||
+ | <staffGrp> | ||
+ | <staffDef n="1" lines="5"> | ||
+ | <clef shape="G" line="2" /> | ||
+ | <meterSig count="4" unit="4" /> | ||
+ | </staffDef> | ||
+ | </staffGrp> | ||
+ | </scoreDef> | ||
+ | <section> | ||
+ | <measure right="end" n="1"> | ||
+ | <staff n="1"> | ||
+ | <layer n="1"> | ||
+ | <beam> | ||
+ | <note dur="8" oct="4" pname="c" accid.ges="n"> | ||
+ | <verse n="1"> | ||
+ | <syl con="u" wordpos="t">some</syl> | ||
+ | </verse> | ||
+ | </note> | ||
+ | <note dur="16" oct="4" pname="e" accid.ges="n" /> | ||
+ | <note dur="16" oct="4" pname="f" accid.ges="n" /> | ||
+ | </beam> | ||
+ | <note xml:id="note-L8F1" dots="1" dur="2" oct="4" pname="g" accid.ges="n"> | ||
+ | <verse n="1"> | ||
+ | <syl>text</syl> | ||
+ | </verse> | ||
+ | </note> | ||
+ | </layer> | ||
+ | </staff> | ||
+ | <fermata staff="1" startid="#note-L8F1" place="above" /> | ||
+ | </measure> | ||
+ | </section> | ||
+ | </score> | ||
+ | </mdiv> | ||
+ | </body> | ||
+ | </music> | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | </code> | ||
== Links == | == Links == | ||
* [https://www.music-encoding.org Main website for MEI] | * [https://www.music-encoding.org Main website for MEI] | ||
+ | ** [https://music-encoding.org/guidelines/v4/content Introductory text about MEI] | ||
+ | ** [https://music-encoding.org/guidelines/v4/elements.html list of MEI elements] | ||
* [https://www.verovio.org Notation-rendering software for MEI] | * [https://www.verovio.org Notation-rendering software for MEI] |
Latest revision as of 02:35, 21 January 2020
MEI is a digital format for musical scores in the XML data structure. The acronym stands for "Music Encoding Initiative", and it is modeled after TEI, the Text Encoding Initiative.
Purpose
MEI is intended as a data representation for critical editions of music. This means that variants between different editions can be encoded within the same document. See this chapter in the MEI Guidelines for an explanation of this feature.
Example
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="https://music-encoding.org/schema/4.0.0/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="https://music-encoding.org/schema/4.0.0/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="4.0.0"> <meiHead> <fileDesc> <titleStmt> <title /> </titleStmt> <pubStmt /> </fileDesc> </meiHead> <music> <body> <mdiv> <score> <scoreDef> <staffGrp> <staffDef n="1" lines="5"> <clef shape="G" line="2" /> <meterSig count="4" unit="4" /> </staffDef> </staffGrp> </scoreDef> <section> <measure right="end" n="1"> <staff n="1"> <layer n="1"> <beam> <note dur="8" oct="4" pname="c" accid.ges="n"> <verse n="1"> <syl con="u" wordpos="t">some</syl> </verse> </note> <note dur="16" oct="4" pname="e" accid.ges="n" /> <note dur="16" oct="4" pname="f" accid.ges="n" /> </beam> <note xml:id="note-L8F1" dots="1" dur="2" oct="4" pname="g" accid.ges="n"> <verse n="1"> <syl>text</syl> </verse> </note> </layer> </staff> <fermata staff="1" startid="#note-L8F1" place="above" /> </measure> </section> </score> </mdiv> </body> </music>