Music Encoding Initiative (MEI)
NOTICE: Copyright (c) 2017–2023 by the Music Encoding Initiative (MEI) Council.
Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://opensource.org/licenses/ECL-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This is a derivative work based on earlier versions of the schema copyright (c) 2001-2006 Perry Roland and the Rector and Visitors of the University of Virginia; licensed under the Educational Community License version 1.0.
CONTACT: contact@music-encoding.org
Welcome to the MEI Guidelines. They provide documentation for the Music Encoding Initiative’s framework for describing music notation documents. This includes both a technical specification of the XML-based implementation of MEI and an explanatory description of its concepts.
The MEI Guidelines are intended to serve as a reference tool for music encoders. Through the use of natural-language definitions and examples, this documentation assists users of MEI in achieving effective and consistent markup. Despite translating XML and RNG terminology and concepts into more accessible language, it is still a technical one that presupposes a minimal understanding of XML and music notation. Novice encoders may want to start their MEI experience by doing an introductory tutorial first. These Guidelines will provide recommendations and arguments for encoding different types of music notation for a variety of purposes. While the specification of the framework is complete, the description is not necessarily complete. MEI is used in various contexts, and not every use-case may be fully reflected in these Guidelines. However, MEI is a community effort, so feedback and suggestions for improvement are highly welcome. Several starting points to get in touch with the MEI community can be found on the MEI website.
These Guidelines make use of real-world examples to illustrate appropriate encoding concepts. We consider the use of such images as fair use. Contributors to these Guidelines are requested to given proper reference to the libraries holding the material used here. They're also asked to be aware of potential copyright infringements and avoid respective material, or replace it with hand-drawn, made-up examples. If you find material that possibly offends copyright, please get in touch with us, and we will take it down.
Many institutions and individuals assisted in the preparation of these Guidelines and in the overall development of the Music Encoding Initiative framework and community.
Grateful acknowledgment is given to the following institutions for their generous contributions: the Akademie der Wissenschaften und der Literatur (AdW) in Mainz for serving as hosting institution for the MEI Community, and the National Endowment for the Humanities (NEH) and the Deutsche Forschungsgemeinschaft (DFG) for their joint financial support of the MEI project in its early stages. We thank several institutions that hosted Music Encoding Conferences or other MEI-related meetings in the past: The AdW Mainz, the University of Virginia Library, the Biblioteca Umanistica of the Università degli Studi Firenze, McGill University Montréal, the Centre d’études supérieures de la Renaissance Tours, the Maryland Institute for Technology in the Humanities (MITH) in College Park, the Oxford e-Research Centre, the Universität Paderborn and the Österreichische Akademie der Wissenschaften Wien in conjunction with the Universität Wien and the Mozarteum Salzburg. We also thank all other institutions that allow their researchers to invest time into both the community and the encoding framework. It is their interest that makes MEI an incredible platform for interchange and scholarly progress.
The Text Encoding Initiative is also owed a special debt of gratitude. In addition to providing much of the inspiration for MEI, the TEI organization supplied funding for the MEI Technical Group in its efforts to adopt ODD. The editors of these Guidelines are grateful for those of the TEI, which provided a stellar exemplar and from which we have borrowed shamelessly.
MEI has been a community-driven effort for more than a decade, and many individuals have provided significant and much-appreciated commitments of time and energy to the development of MEI: Nikolaos Beer; Vincent Besson; Benjamin W. Bohl; Margrethe Bue; Donald Byrd; Irmlind Capelle; Tim Crawford; David A. Day; Giuliano Di Bacco; Norbert Dubowy; Richard Freedman; Ichiro Fujinaga; Andrew Hankinson; Maja Hartwig; Kristin Herold; Franz Kelnreiter; Johannes Kepper; Robert Klugseder; Zoltán Kőmíves; David Lewis; Urs Liska; Elsa De Luca; Erin Mayhood; Stefan Morent; Stefan Münnich; Markus Neuwirth; Kevin Page; Daniel Pitti; Laurent Pugin; Klaus Rettinghaus; Kristina Richts; Daniel Röwenstrunk; Perry Roland; Craig Sapp; Agnes Seipelt; Eleanor Selfridge-Field; Christine Siegert; Peter Stadler; Axel Teich Geertinger; Martha Thomae; Joachim Veit; Raffaele Viglianti; Thomas Weber; and Sonia Wronkowska.
Thanks to Bernhard R. Appel; Richard Chesser; Morgan Cundiff; J. Stephen Downie; Oliver Huck; Fotis Jannidis; John Rink; Federica Riva; Frans Wiering and Barbara Wiermann for providing expertise on a wide range of topics related to music notation modelling.
Also thanks to Syd Bauman, Terry Catapano, and Sebastian Rahtz for their invaluable problem-solving assistance during the development of the 2010 RNG schema. Thanks to Sebastian Rahtz and James Cummings of the Text Encoding Initiative (TEI) for their help with making ODD work with MEI, their assistance in more closely aligning MEI and TEI, and their quick responses to questions and Roma bug reports.
Finally, the members of the Music Encoding Initiative would like to thank Perry Roland for his foresight, engagement and dedication in laying the foundations of this initiative.
Release 5.0 of MEI focuses primarily on the guidelines, development infrastructure, and consistency, with only limited changes to the specifications. Perhaps the most important additions are the introduction of the MEI Basic customization, and the availability of an auto-generated PDF version of the Guidelines (see below for more details on both). The Release Managers for MEI 5.0 were the Technical Co-Chairs, Benjamin W. Bohl and Stefan Münnich.
As a framework to encode music, MEI offers extensive flexibility to encode music documents of various kinds, and for a wide variety of uses. For scholarly research, this flexibility is necessary and is one of the greatest strengths of MEI. At the same time, we recognize that this flexibility presents challenges for broad adoption of MEI as a notation interchange format. For developers, providing "full" MEI support is a difficult and time-consuming chore, writing and supporting code for features which most of their users will not use. Accordingly, MEI has not seen a great deal of adoption by current score-writing applications.
This is addressed this with the release of MEI 5. We are now offering a new customization of MEI,
MEI Basic, that provides a simplified subset of the MEI framework that
reflects the capabilities of most popular "Common Western Music Notation" score-writing
applications currently in use.
In the full MEI schema there are often multiple ways to encode something. MEI Basic simplifies this by providing only one approach for each music feature, making it significantly easier to provide full feature support in software. As noted, MEI Basic only supports Common Western Music Notation. Many of the more complex encoding mechanisms for editorial and analytical workflows are also removed in MEI Basic. MEI Basic has a relatively small footprint of supported features, which may be expanded over time as more software applications adopt MEI and more use cases are identified. All MEI Basic files are valid MEI "full" files, meaning MEI Basic files may be expanded and upgraded to MEI "full", adding more complex features and encoding mechanisms as required.
We hope that this customization facilitates more application adoption, data sharing between MEI projects, and conversion between MEI and other data formats.
With MEI 5, we re-introduce a PDF version of the MEI Guidelines. With a total of more than 5,700 pages, this PDF clearly is not intended to be printed, but may serve as a single-file reference to the current release of MEI. The PDF is interactive, so may be offline with working links between sections. While the largest part of the PDF is taken up by the formal specification of the format, there are also more than 370 pages of prose documentation and examples of how to use the MEI framework for various purposes. The PDF therefore gives a good impression of the huge effort that went into the development of MEI.
The Guidelines have also had several notable contributions, led in large part by our Interest Groups. These contributions have sought to make some chapters more clear and consistent, to help newcomers to MEI understand how MEI encoding may be applied.
In total, we have over 40 contributors actively involved in the preparation of this release of MEI. Many of them are early-career researchers, investing significant time and effort into the MEI Framework. Due to the open nature of this community work, happening alongside conferences, workshops, and other meetings, others may not be listed properly because of rather informal, but no less important, contributions. Without the joint effort of all those involved, an undertaking like MEI would not be possible.
MEI 5 introduces five new elements:
Most other changes affect more specific aspects in the model of MEI, usually
expressed in attributes. These include the refinement of the encoding of key
signatures, with
A lot of effort went into updating the infrastructure for generating releases. These changes are designed to help improve the development workflow of MEI, improving consistency and oversight of changes as they are contributed to MEI. Our new setup is explained in great detail in the project README file. We have also expanded our Contribution Guidelines and other documentation files in the music-encoding GitHub repository.
The MEI documentation and guidelines are now expressed in TEI ODD again, moving away from the MarkDown-based approach used in the preparation of MEI v4 documentation. This re-introduces greater compatibility with the TEI toolset. The source code for both the Guidelines and the Specification is now jointly contained in the music-encoding GitHub repository, which simplifies validation across both parts of MEI. All assets – web documentation, PDF Guidelines, and schemata – are automatically generated from there. A multi-platform Docker image for running these processes locally is also provided to help new developers with getting started in contributing to MEI. Setting up these technical workflows has taken considerable effort, but should now simplify future development and releases considerably.
In addition to the main Music Encoding schema and Guidelines, we have also updated our Sample Encodings and Encoding Tools repositories. Sample Encodings have been updated to MEI 5.0, and several problems with encodings from older releases have been fixed. In the Encoding Tools, several bugs were fixed with older upgrade XSLT scripts, and a new XSLT for upgrading MEI 4 to MEI 5 was added.
To see all of the changes made for this revision, please visit our Git repositories:
The editors wish to thank everyone who participated in this process. Of course, errors and omissions are the sole responsibility of the editors.
This section of the Guidelines defines principles and criteria for designing, developing, and maintaining an XML-based encoding scheme for music notation documents.
A music notation document is one that contains music notation; that is, any one of a number of "visual analogues of musical sound, either as a record of sound heard or imagined, or as a set of visual instructions for performers." (Ian D. Bent, et al. "Notation." Grove Music Online. Oxford Music Online. 25 May 2010. http://www.oxfordmusiconline.com/subscriber/article/grove/music/20114.) However, MEI’s understanding is more inclusive than this restrictive definition, i.e., Braille certainly qualifies as music notation documents.
The encoding scheme permits both the creation of new music notation documents and the conversion of existing ones from print and other electronic formats. However, conversion of existing documents may require revisions in content or rearrangement of information.
MEI may be used to encode both primary sources of music notation, such as an autograph or published score, and secondary sources, such as a scholarly edition based on one or more primary sources. The format encompasses both use cases, and the encoder must choose the elements and attributes most appropriate in each case. These Guidelines aim to provide guidance on that task.
As an encoded representation of one or more music notation documents, an MEI file may be employed as a surrogate for the original materials.
Although the encoding scheme does not define or prescribe intellectual content for music notation documents, it does define content designation and is intended to be used with available data content standards. MEI identifies the essential data elements within music notation documents and establishes codes and conventions necessary for capturing and distinguishing information within those elements for future action or manipulation. While there are a few elements that ought to appear in any MEI document, various intellectual, technical, and economic factors influence the level of detail of analysis and encoding actually undertaken. Taking this into consideration, the encoding scheme is designed with a minimum of required elements and allows for progressively more detailed levels of description as desired.
The encoding scheme preserves and enhances the current functionality of existing music notation documents. It permits identification of document structures and content that support description, navigation, analysis, and online and print presentation.
The encoding scheme is intended to facilitate interchange between notational tools. It aims to assist in the creation of more effective and consistent encoding, encourage the creation of cooperatively-created and widely available databases of music notation documents, and permit the reuse of encoded data for multiple output purposes. It will also ensure that machine-readable music notation documents will outlive changing hardware and software environments because they are based on a platform-independent standard.
The encoding scheme is based on eXtensible Markup Language (XML), a
text-based format for representing structured information. It is expressed
as a One Document Does-it-all (ODD) document. For more information on ODD, please refer to
Related or complementary standards, such as the Text Encoding Initiative (TEI) Guidelines for Electronic Text Encoding and Interchange, the Encoded Archival Description (EAD), MARC 21 Format for Bibliographic Data, existing notation encoding schemes, etc. have been consulted and employed as appropriate. For example, the data model includes a header that is comparable to the TEI header, and TEI and EAD naming conventions and tag structures have been used whenever feasible. However, while some feature names are similar, or even the same, it is important to recognize that MEI and TEI have different semantic scope. Obviously, a note element in MEI does not carry the same meaning as the element of the same name in TEI. Perhaps less obviously, a phrase in music notation is unrelated to a textual phrase.
With respect to metadata, MEI recognizes the close relationship between the metadata content found in the MEI header and that of catalog records, authority records, and finding aids. Therefore MEI provides ways of indicating in the encoding the corresponding fields of other metadata standards.
To ensure broad international and multi-repertoire application of MEI, existing musical terminology was used in building the data model where practical. When appropriate, a more neutral terminology was used to facilitate sharing of concepts and thus stressing the commonalities between different repertoires. Finally, extensive use of attributes and clearly-defined classification mechanisms in the schema permits the refinement of element meanings within specific musical, geographic, or temporal contexts.
The Music Encoding Initiative Community has given itself By-laws, which regulate all essential properties and procedures. The community elects a Board, which in turn governs and represents the community. The Board consists of nine elected members, with three seats standing for election for three year terms each year. Everyone registered to the MEI-L mailing list is eligible to vote for the Board.
In addition to the Board, there is a Technical Team, which is open for anyone interested to work on the maintenance and improvement of MEI itself. The Technical team will assist Interest Groups and other interested community members in an advisory capacity on how to further develop MEI for both existing and new fields of application.
This chapter is intended to explain basic concepts of MEI, like events vs. controlevents.
The term "music" has many different notions, ranging from audible sounds over
written performance instructions or transcriptions of such events to conceptual
rulesets that establish different theories of what music is, and what is
allowed in music. In 1965, Milton Babbitt distinguished between graphemic, acoustic and auditory aspects of music (Babbitt, Milton: The Use of Computers in Musicological Research, in: Perspectives of New Music 3/2 (1965), p. 76).
Various music encoding formats took up this distinction, most notably SMDL, the
Standard Music Description Language (ISO/IEC DIS
10743). While the format itself was hardly ever used for its impractical
implementation details, parts of its design certainly influenced the
development of other formats, including MEI. In a documentation draft (http://xml.coverpages.org/smdl10743-pdf.gz, p.5), SMDL identifies
four different musical domains:
On a generic level, MEI follows the same definition, and it definitely shares
the same terminology. However, not all four domains are available throughout
the MEI schema, and quite frequently, two domains fall together in MEI. Very
often, MEI prioritizes the visual domain over the gestural domain by (partly)
conflating the logical and the visual domains. For example, MEI utilizes the
written
pitch of a note, whereas the sounding pitch may be described with the
Even though the technical implementation of MEI prioritizes the visual domain
to some degree, this does not mean that any given encoding has to provide
visual information. MEI takes no assumption on what data is required: While an
OMR project (optical music recognition) may generate strictly visually
oriented data only, another project focussed on audio transcriptions may
generate gestural data only. A third project could integrate both
approaches.
In order to avoid ambiguous encodings, MEI is very strict and specific on the
scope of its individual markup elements. For an encoder, the suffixes mentioned
above provide clear hints on which domain is addressed by specific markup: Many
attributes carry a suffixed .log (logical), .ges (gestural), .vis
(visual), or .anl (analytical) in their name. In addition, the internal
structure of MEI heavily relies on those different domains. When customizing
MEI (see chapter
MEI differentiates between two essential aspects of music notation: Events and ControlEvents. There
are other examples for such a separation of concerns with regard to music. In
Greg’s Copy-Text Theory (W.W. Greg: The Rationale of
Copy-Text, 1950), a distinction between primary and secondary text is
made; similar attempts have been made for music specifically.
In MEI, elements describing the basic musical text are referred to as Events. They are the building blocks for the stream of
music – mostly those are ControlEvents make no independent contribution to that
flow of music. Instead, they provide additional information about the encoded
Events, they control their
performance. Examples for such ControlEvents are Events describe what needs to be performed, and ControlEvents
indicate how it needs to be performed. In (Events are nested inside
a ControlEvents are direct children of the first Events are encoded inside semantic position inside the
encoded work can be derived from their structural
position – the measure, staff and layer they're nested in, and within
that layer by their position inside the sequence of all layer children. As
mentioned above, it is highly recommended to encode ControlEvents inside the first measure they apply to, but
they still require references to the actual events they apply to. There are two
common concepts to provide such a connection, both of which offering specific
benefits and drawbacks. A technically very stable connection between ControlEvents and Events can be
established by using pointers. In this case, all events
that need to be referenced need an
In the example above, the forte indication within the score. A
A ControlEvent encoded like above will be strictly tied
to the referenced Events – if their position inside the
XML document changes for whatever reason, they will keep that connection. This
means that the semantic position to which they are bound
may change without affecting the binding. An example could be an inserted
additional note in front – the dynamic marking would not start on the second
quarter, but perhaps on the third instead.
As this behavior may not be desired in all cases, an alternative binding
between ControlEvents and Events
is possible, relying on timestamps instead. This
mechanism is illustrated in the following example:
Here, no
This mechanism actually depends on what has been only recommended above:
placing the controlevent inside the measure where it starts. The
recommended to always
use this placement.
The benefit of this concept is that controlevents are tied to a semantic position, but not necessarily to a given XML
element. The forte may still be placed on the second
quarter, even though the composer may have replaced that quarter G4 with a
different pitch and / or duration. Actually, it is not required that an Event can be found at the position indicated by a
timestamp. This may be useful to encode a slur ending at an arbitrary position
between two events, or dynam markings spread across otherwise empty
measures.
If the ending of a ControlEvent shall be given by
timestamp, the
Because of potential inconsistencies, an encoding should not offer both
ControlEvents with Events.
The details on how timestamps are calculated and used in MEI are given in
In MEI, timestamps are treated in a slightly simplified way: they have no
notion of beat. Instead, timestamps rely solely on the
numbers given in the meter signature. In a measure of 4/4, timestamps will
range from 1 to 4. The second eighth note will be 1.5 in this case. If the same
measure would be given in 2/2, it would be 1.25 instead.
At this point, MEI uses real numbers only to express timestamps. In case of (nested or complex) tuplets, this solution is inferior to fractions because of rounding errors. It is envisioned to introduce a fraction-based value for timestamps in a future revision of MEI. For now, it is recommended to round the fractional part of the number to no more than five digits to avoid such problems.
Durations may also be expressed based on timestamps. In this case, the values
are a combination of the count of measures that need to
be moved forward to reach the measure in which an encoded feature ends, and the
timestamp within that measure.
The following example contains a number of
Sometimes, timestamps are used to indicate positions where no music Events are located (see
MEI is an encoding framework, not a data format. This means that MEI provides recommendations for encoding music documents, but it depends on the encoder's needs and requirements to which features and solutions are appropriate to the task and should be used. MEI offers specific models for different notation types and music repertoires, but it is rarely advisable to use them all side by side in one encoding.
In order to use MEI, it is advised to use a restricted version of the schema,
which will make it easier both for an encoder and a reader of the encoded
files. MEI provides a number of pre-defined profiles, which focus on specific
uses of MEI while still maintaining a great level of flexibility. For projects
that need even better control over their data, it is highly recommended to
create a more specific customized version of MEI (see chapter
The first three profiles provide good starting points to encode music from the respective repertoires. They may also serve as template for further, project-specific customizations. The latter two profiles target very specific use cases and should not be used by default.
In production, it is best to use a customized version of MEI, restricted to the
very needs of a project. Such a custom schema will guide the encoders and will
help to ensure consistency and data quality throughout a project’s files. A
customization typically provides a subset of MEI’s encoding models (typically
starting from one of the official profiles mentioned in chapter Complete Works editions typically use Editorial Guidelines (german:
Editionsrichtlinien) for the same purposes: (internal) quality control and
(external) documentation. In that sense, MEI customizations may serve as
Editorial Guidelines in digital form.
MEI is implemented in ODD. ODD, or One Document Does-it-all, is another
XML-based markup language developed and maintained by the TEI. TEI's
documentation for ODD can be found in the TEI Guidelines chapter 22: Documentation Elements, chapter 23: Using
the TEI, and the "Getting Started with P5 ODDs" document.
At this point, there is no specific documentation on how to customize MEI with
ODD beyond the generic TEI documentation. However, the provided
MEI provides a web service at http://custom.music-encoding.org which allows to compile such customizations against the MEI sources in order to generate RelaxNG schemata, which can be used for validation. More documentation on customizing MEI will be provided as time permits; until then, it is recommended to reach out to the MEI Community for additional assistance.
The Music Encoding Initiative provides a collection of sample encodings, which demonstrate a wide-range of uses of MEI in real-world contexts. They are available from https://github.com/music-encoding/sample-encodings.
For MEI, there is also a number of tools, which facilitate encoding of and working with MEI instances in various contexts. These tools are available from the https://music-encoding.org/resources/tools.html website.
This chapter describes basic principles and shared concepts of MEI. Besides giving a general understanding of the basic structures of an MEI file it tries to introduce elements, models, and attributes that are part of the MEI.shared module, describe their use or at least point to chapters of these guidelines or tutorials that describe their use and application.
Besides elements used by multiple other modules the MEI.shared module defines the main structural elements of an MEI file. Please be aware that there is also a A short tutorial about the basics of XML & MEI that helps understanding and learning the contents of this chapter.
MEI defines four elements qualifying as root elements (i.e., the element containing everything else) of an MEI document; the most common of these are defined in the MEI.shared module:
The most straightforward – and probably the most common choice fitting most of the use cases when encoding music – is the
The below example shows the basic structure of an MEI file with
The other potential root elements serve different use cases or purposes.
A document with
The below example shows the basic structure of an MEI file with
The below example shows the basic structure of an MEI file with
The
The below example shows the basic structure of an MEI file with
The above examples all carry two attributes on their root elements. While the
Although not required the
As indicated above, the general place for encoding the musical text is the
While
There are several more possible child elements of the
Please be aware that the following examples still do not reflect valid MEI files as they are missing some required elements not defined in the MEI.shared module.
The basic structure of a unitary musical text:
Examples of composite texts which may be represented using the
For example, the overall structure of a collection of songs might be encoded as follows:
A group of musical texts may contain other unitary and grouped texts:
The ad hoc single- or multiple-composer collections or anthologies of works not originally conceived of as a single composition.
This section describes sub-division of the
The body of a unitary musical text may contain one or more discrete, linear segments. The names commonly used for these structural subdivisions vary with the genre, style, and time period of the music, or even at the whim of the author, editor, or publisher. For example, a major subdivision of a symphony is generally referred to as a ‘movement’. An opera, on the other hand, is usually organized into ‘acts’ and then further by ‘scenes’. All such divisions are treated as occurrences of the same neutrally-named
To accommodate "divisions within divisions", an
While dramatic works, such as Verdi's opera, Il Trovatore, often exhibit a more deeply-nested structure:
Conventionally, in performance the musical structures represented by attacca, attacca subito, seque, or similar terms are sometimes used at the end of an
The contents of
The
The
Within the collective
A
Please note that
In both score and part views, the
A
The
The most common (non-analytical, non-editorial) use of
Within
However, staff-by-staff organization is more appropriate for music without measures and is provided when either the MEI.mensural or MEI.neumes module is employed. Coverage of mensural notation is provided in chapter
It must be noted that, when both the MEI.cmn and MEI.mensural modules are available, it is possible to encode CMN notation without using
In certain circumstances, this approach may be preferable for reproduction of the visual layout of the music. However, the simultaneous use of the
Typically, MEI follows the order of sections as they appear in the document being encoded. When performance requires a different order, for instance in the case of D.C. and D.S. directives, the following element may be used to define the performance order.
In the following example,
This section introduces the elements that can be used to represent document layout features in MEI, be it for the sake of capturing an original source's layout when transcribing or setting up layout features in so called ‘born digital’ documents.
The
Additional information can be provided on page beginnings. Ranging from a prose description of the page layout in
"Forme work" is the name for running elements (page headers and footers). Both
Columned layout can be captured with the following elements:
In order to force a system break in the musical text
Critical editions and collections of works often contain extensive text, such as a title page, table of contents, an introductory essay, commentary, biographical sketch, index, etc. These textual items may appear in either the
The MEI.shared module provides basic text structure elements.
A detailed description of their use and of other elements from the MEI.text module can be found in the corresponding chapter
This section lists the elements defined in the shared module that are available within the music element.
The following elements are provided for the capture of scores and parts:
The character of elements specifying one or more score or staff parameters, such as meter and key signature, clefs, etc., is that of a milestone; that is, they affect all subsequent material until a following redefinition. A
The actual use of these elements depends on the repertoire and historical context of the source material. For details on their use in Common Western Notation, please refer to chapter
The elements below are used to capture the logical organization of musical notation:
The actual use of the
The basic features of music notation are represented by the following elements:
The characteristics of stems on notes and chords are indicated by means of attributes found in the
Because they can occur in the context of a stream of events on the staff, some elements which are used in other contexts are also treated as events. For example, in addition to being used to define the initial clef of a staff, the
Key signatures and clefs as well as intra-staff changes to these musical parameters are treated as events.
Measure separators, i.e., bar lines, and custos signs are also considered to be events.
The following elements are regarded as events primarily because they sometimes occur independently of any associated notes, rests, or chords, especially in mensural and neume repertoires.
The
The following elements provide control over the horizontal spacing of notational events, such as notes, chords, rests, etc.:
In this context, the term ‘space’ is used to mean whitespace that is required to meaningfully align multiple voices in a multi-voice texture. In DARMS these were referred to as ‘push codes’. The
The
‘Space’ can be thought of as another kind of event. In fact, some refer to this concept as an ‘invisible rest’.
While ‘space’ is meaningful, ‘padding’ is non-essential whitespace that is used to shift the position of the events which follow.
The
Expression marks are instructions in the form of words, abbreviations, or symbols that convey aspects of performance that cannot be expressed purely through the musical notation.
All of the following elements can be considered text directives; however, MEI uses the
Examples of directives include text strings such as 'affettuoso', fingering numbers, or music symbols such as segno and coda symbols or fermatas over a bar line. Directives can be control elements. That is, they can linked via their attributes to other events. The starting point of the directive may be indicated by either a tstamp, tstamp.ges, tstamp.real or startid attribute, while the ending point may be recorded by either a tstamp2, dur, dur.ges or endid attribute. It is a semantic error not to specify a starting point attribute.
Tempo marks are indications through words, abbreviations, or specific metronome settings of the speed at which a piece of music is to be performed. Both instantaneous and continuous tempo markings may be encoded using this element.
Dynamics, or dynamic marks, are terms, abbreviations, and symbols that indicate the specific degrees of volume of a note, phrase, or section of music, e.g., "piano", "forte". Transitions from one volume level to another, e.g., "crescendo", "diminuendo", are also specified through dynamic marks.
Phrase marks are curved lines placed over or under notes to delineate short sections of a work that represent a unified melodic idea, analogous to a phrase in literature.
MEI maintains a distinction between phrase marks and slurs, the latter being curved lines over or under a sequence of notes indicating they are to be performed using a particular playing/singing technique, notes that should be taken in a single breath by wind instruments or played by string instruments using a single stroke of the bow. Often, a slur also indicates that the affected notes should be played in a legato manner.
Even so, it is common for both of these concepts to be referred to generically as "slurs". Therefore, unless one is encoding music from a repertoire in which this distinction is important, the
Ornaments are formulae of embellishment that can be realized by adding supplementary notes to one or more notes of the melody.
MEI provides a generic element for encoding an ornament symbol that is not a mordent, turn, or trill. For those common CMN ornaments, please refer to
Ornaments can be represented as textual strings (e.g., with a Unicode symbol) or with a user defined symbol (for the latter also see
Ornaments may also be encoded as so called control events (see also:
The following attributes, all of which are defined in separate attribute classes but are also provided through the
The most general attributes that are very frequently encountered in MEI files are not even native MEI attributes but are coming from the basic definition of XML in the XML-namespace http://www.w3.org/XML/1998/namespace. MEI redefines some of them in the
The value of the
The
This is an example of an incorrectly-formulated
At many locations in an MEI file one can reference internal or external references. E.g. the following example defines a graphic and references an external image (entity) by means of the
When a reference to an external entity is not a complete URI it is resolved against the current base URI; if not defined by other means this would be the location of the current document. The above example consequently would mean, that the file `myImage.jpg` referenced from
The
The value of
In order to determine an absolute URI, the base URIs of the element and all its ancestors (including the document node) have to be taken into account. In the above case the relative URIs of graphic/@target would consequently resolve to:
``` http://www.mySite.org/images/myImage.jpg http://www.mySite.org/images/myImage.tif ```
For more information on
The
Yet there are other attributes from the XML-Namespace encountered in MEI files.
While
The
For a detailed description of linking mechanisms used in MEI also see the section on
This chapter describes the elements, model classes, and attribute classes that are part of the MEI.usersymbols module.
The module described in this chapter makes available the following components:
No attribute classes are defined in this module.
The usersymbols module defines the following model classes:
The elements provided by the usersymbols module may be used in two ways:
For this purpose, it provides three elements as graphic primitives,
The
The following code snippet shows a definition of a triangle percussion symbol using graphic primitives:
The following snippet encodes a symbol composed of the symbol defined above and additional graphics primitives:
The graphics primitives and symbols can be used directly in the music to describe text and lines on a purely graphical level, without implying a specific logical meaning. If possible, however, more meaningful elements should be used. This means for example, "a tempo" or "da capo" should in general not be put inside
An example usage for
The following code snippet shows the encoding of the above example:
Usersymbols can define the rendition of different elements in two ways. Some elements, for example
The corresponding encoding would be as follows:
A number of elements can point to an internally-defined symbol for rendering using the
Externally-defined symbols may be referenced using a
MEI uses the classic axis directions where the x-axis points from left to right and the y-axis points from bottom up. (This is compatible with PostScript's axis orientation, while SVG's y-axis points in the opposite direction.)
There are two types of units used by MEI: Staff units and units of the output coordinate system. Units of the output coordinate system can be translated to physical real world distances by means of the
If an element is scaled using the
An element may be positioned using either absolute or relative coordinates. If absolute start point coordinates are specified using
If
If relative start coordinates (
The start point is offset from this origin by the value of the start coordinates (
Analogously, the endpoint is determined using end coordinates (
Examples of origins are:
When they are referenced by
If neither a
The attributes
The
The interpolation points are calculated as follows: If n distance values, the connection line is divided into n+1 subsegments of equal length. The interpolation points are found by drawing a perpendicular line of the respective length at each subsegment joint. Positive distance values are drawn to the left of the connection line (left when traveling from start to end), negative ones to the right.
The interpolation algorithm used by the rendering application is implementation dependent.
The
These attribute values are only qualitative. Actual dash length and dot and dash spacing are implementation dependent.
The
These values are also qualitative, however, they are also relative. That is, 'narrow' is the default value, 'medium' is twice as wide as 'narrow', and 'wide' is twice as wide as 'medium'.
In addition to textual values, the
The same applies for
The
The usersymbols module does not currently support continuous composite lines or filled areas. As mentioned above, the rendition of lines is highly implementation dependent. Coordinate system transforms are restricted to scaling using
Metadata means "data about data", i.e., information about various aspects of an encoding at hand. There are many different types of metadata, which MEI tries to order according to their respective scope or perspective, as described in
This chapter thus addresses the description of an encoded item so that the musical text, as well as its sources, encoding, and revisions are all thoroughly documented. Such documentation is necessary for scholars using the texts, for software processing them, and for catalogers in libraries and archives. Together these descriptions and declarations provide an electronic analog to the title page attached to a printed work. They also constitute an equivalent for the content of the code books or introductory manuals customarily accompanying electronic data sets.
Every MEI-conformant text not embedded in another XML carrier that provides for capturing metadata, such as TEI or METS, must carry a set of descriptions, prefixed to it and encoded as described in this chapter. This set is known as the MEI header, tagged
The metadata encoded inside
This chapter introduces data models and markup available in various locations of the MEI header.
The
The title statement contains the title given to the electronic work, together with one or more optional statements of responsibility which identify the encoder, editor, author, compiler, or other parties responsible for it:
The
Other alternative titles or subtitles may be encoded in additional title elements with values in the
The
The electronic work will also have an external name (its ‘filename’ or ‘data set name’) or reference number on the computer system where it resides at any time. This name is likely to change frequently, as new copies of the file are made on the computer system. Its form is entirely dependent on the particular computer system in use and thus cannot always easily be transferred from one system to another. Moreover, a given work may be composed of many files. For these reasons, these Guidelines strongly recommend that such names should not be used as the title for any electronic work.
Helpful guidance on the formulation of useful descriptive titles in difficult cases may be found in the Anglo-American Cataloguing Rules (Gorman and Winkler, 1978, chapter 25) or in equivalent national-level bibliographical documentation.
It is important to keep in mind that the structured metadata. Preserving the exact rendition of a title page is possible using the
The title of a
In scholarly work, attribution of responsibility is crucial. For this purpose, MEI offers the
At a minimum, the creator of the musical text and the creator of the file should be identified. If the bibliographic description is for a corpus, identify the creator of the corpus. Optionally also include the names of others involved in the transcription or elaboration of the text, sponsors, and funding agencies. The name of the person responsible for physical data input need not normally be recorded, unless that person is also intellectually responsible for some aspect of the creation of the file.
In traditional bibliographic practice, those with primary creative responsibility are given special prominence. MEI accommodates this approach by providing responsibility-role elements. For example:
Secondary intellectual responsibility in this case is encoded using
This method of encoding facilitates exchange of bibliographic data with library catalogs and bibliographic databases as well as applications whose handling of bibliographic data is restricted to traditional responsibility roles. Additional information regarding these responsibility-role elements can be found in chapter
When the MEI.namesdates module is enabled, two additional elements are also permitted within
These elements allow for more precise identification of the entity associated with the name than is permitted by the simpler
For additional information about corporate and personal names, see chapter
In addition to, or instead of the
Values from the MARC relator code list (http://www.loc.gov/marc/relators/relacode.html) or term list (http://www.loc.gov/marc/relators/relaterm.html) are recommended for
Where it is necessary to group responsibilities and names, multiple responsibility statements may be used. For example:
It is often desirable to mix primary and secondary intellectual responsibility information. Treating all intellectual roles the same way can allow literal transcription of existing responsibility statements and simplify programmatic processing. The following example demonstrates how a responsibility statement may be transcribed using interleaved
However, eliminating explanatory text and relying on standardized values for
The structure of the bibliographic description of a machine-readable or digital musical text resembles that of a book, an article, or other kinds of textual objects. The file description element of the MEI header has therefore been closely modelled on existing standards in library cataloging; it should thus provide enough information to allow users to give standard bibliographic references to the electronic text, and to allow catalogers to catalog it. Bibliographic citations occurring elsewhere in the header, and in the text itself, are derived from the same model.
The bibliographic description of an electronic musical text should be supplied by the mandatory
The
A complete file description will resemble the following example:
The
It contains elements for identifying the edition and those responsible for it:
For printed texts, the term ‘edition’ applies to the set of all the identical copies of an item produced from one master copy and issued by a particular publishing agency or a group of such agencies. A change in the identity of the distributing body or bodies does not normally constitute a change of edition, while a change in the master copy does.
For electronic texts, the notion of a master copy is not entirely appropriate, since they are far more easily copied and modified than printed ones; nonetheless, the term edition may be used for a particular state of a machine-readable text at which substantive changes are made and fixed. Synonymous terms used in these Guidelines are version, level, and release. The words revision and update, by contrast, are used for minor changes to a file which do not amount to a new edition.
No simple rule can specify how substantive changes have to be before they are regarded as producing a new edition, rather than a simple update. The general principle proposed here is that the production of a new edition entails a significant change in the intellectual content of the file, rather than its encoding or appearance. The addition of analytic coding to a text would thus constitute a new edition, while automatic conversion from one coded representation to another would not. Changes relating to the character code or physical storage details, corrections of misspellings, simple changes in the arrangement of the contents and changes in the output format do not normally constitute a new edition, whereas the addition of new information (e.g., annotations, sound or images, links to external data) almost always does.
Clearly, there will always be borderline cases and the matter is somewhat arbitrary. The simplest rule is: if you think that your file is a new edition, then call it such. An edition statement is optional for the first release of a computer file; it is mandatory for each later release, though this requirement cannot be enforced.
Note that all changes in a file, whether or not they are regarded as constituting a new edition or simply a revision, should be independently noted in the revision description section of the file header (see section
The edition element should contain phrases describing the edition or version, including the word 'edition', 'version', or an equivalent term, together with a number or date, or terms indicating difference from other editions such as 'new edition', 'revised edition', etc. Any dates that occur within the edition statement should be marked with the
One or more
Some examples follow:
The third component of the fileDesc is a description of the physical qualities of the file. The
The
For printed books, information about the carrier, such as the kind of medium used and its size, are of great importance in cataloging procedures. The print-oriented rules for bibliographic description of an item’s medium and extent need some re-interpretation when applied to electronic media. An electronic file exists as a distinct entity quite independently of its carrier and remains the same intellectual object whether it is stored as file on a hard disc drive, a CD-ROM, a set of USB devices, or in the internet. Since, moreover, these Guidelines are specifically aimed at facilitating transparent document storage and interchange, any purely machine-dependent information should be irrelevant as far as the file header is concerned.
This is particularly true of information about file-type although library-oriented rules for cataloging often distinguish two types of computer file: ‘data’ and ‘programs’. This distinction is quite difficult to draw in some cases, for example, hypermedia or texts with built-in search and retrieval software.
Although it is equally system-dependent, some measure of the size of the computer file may be of use for cataloging and other practical purposes. Because the measurement and expression of file size is fraught with difficulties, only very general recommendations are possible; the element
The use of standard abbreviations for units of quantity is recommended where applicable, here as elsewhere (see http://physics.nist.gov/cuu/Units/binary.html).
For ease of processability, the use of the
The
A virtual unit (vu) in MEI is a measure of distance. It is determined by half the distance between adjacent staff lines where the interline space is measured from the middle of a staff line. Unless otherwise specified, the MEI virtual unit is set as the default unit.
The
It may contain either a single
The publisher is the person or institution by whose authority a given edition of the file is made public. The distributor is the person or institution from whom copies of the text may be obtained. Use
The sub-elements of
Give any other useful information (e.g., dates of collection of data) in an annotation within the notes statement, which is described below.
Here, as in the description of intellectual responsibility described above, the
The
A series may be defined in one of the following ways:
The
The
The
The contents of the series may be enumerated using the
Alternatively,
Finally, using the
The
The
Some information found in the notes area in conventional bibliography has been assigned specific elements in these Guidelines; in particular the following items should be tagged as indicated, rather than as general notes:
Nevertheless, the
Each such item of information may be tagged using the general-purpose
There are advantages, however, to encoding such information with more precise elements elsewhere in the MEI header, when such elements are available. For example, the notes above might be encoded as follows:
The
The
In the MEI header, the
Similarly, in the body of the MEI document, the
The most useful associations of this type are between the bibliographic description of a source and the material taken from it.
The
The encoding description may contain elements taken from the model.encodingPart class. By default, this class makes available the following elements:
Each of these elements is further described in the appropriate section below.
It is sometimes convenient to store information relating to the processing of an encoded resource within its header. Typical uses for such information might be:
Each
The following example shows how these elements might be used to record the fact that version 1.5 of an application called ‘Music Markup Tool’ has an interest in two parts of a document. The parts concerned are accessible at the URLs given as targets of the two
The
It may contain a prose description only, or one or more of a set of specialized elements; that is, members of the MEI model.editorialDeclPart class.
Some of these policy elements carry attributes to support automated processing of certain well-defined editorial decisions; all of them contain a prose description of the editorial principles adopted with respect to the particular feature concerned. Examples of the kinds of questions which these descriptions are intended to answer are given in the list below.
Experience shows that a full record should be kept of decisions relating to editorial principles and encoding practice, both for future users of the text and for the project which produced the text in the first instance. Any information about the editorial principles applied not falling under one of the above headings may be recorded as additional prose following the special-use elements.
An editorial practices declaration which applies to more than one text or division of a text need not be repeated in the header of each text or division. Instead, the
The
For example:
The samplingDecl element holds a prose description of the rationale and methods used in selecting texts, or parts of text, for inclusion in the resource.
The
It may also include a simple description of any parts of the source text included or excluded:
A sampling declaration which applies to more than one text or division of a text need not be repeated in the header of each such text. Instead, the
The
Each taxonomy may have a heading and may declare any number of categories using the
The
The categories declared in the taxonomies may then be referenced to within
The final sub-element of the MEI header, the
The main purpose of the revision description is to record changes in the text to which a header is prefixed. However, it is recommended practice to include entries also for significant changes in the header itself (other than the revision description itself, of course). At the very least, an entry should be supplied indicating the date of creation of the header.
The log consists of a list of
It is recommended to give changes in reverse chronological order, most recent first.
For example:
A slightly shorter form for recording changes is also available when a the date of the change can be described by a single date in a standard ISO form and when the name of the agent(s) responsible for the change, encoded elsewhere in the header, can be referred to by one or more URIs given in the
MEI header information may refer to different levels of description of the encoded work: Some information may apply the work in all its various forms and realizations, e.g., the name of its composer. Other information may describe a certain version of the work, or a source such as the printed first edition, or only a single copy of that source. Core MEI limits the header information to two such levels of description: work and source, respectively.
However, when the FRBR module is available more detailed descriptions are possible. With certain limitations, mainly due to the musical nature of the works encoded in MEI, the FRBR module adapts the Functional Requirements for Bibliographic Records (FRBR) as recommended by the International Federation of Library Associations and Institutions (IFLA).
The IFLA’s FRBR model distinguishes four levels of abstraction, or entities:
With the FRBR module, MEI offers four elements corresponding to the FRBR "Group 1" entities:
The names of the MEI entities follow those of FRBR: the
The
As
The content model of
Since expressions, like works, are abstractions, their titles are often nebulous. Usually, however, the title of an expression is the same as the work it represents. When the relationship between a work and an expression is encoded hierarchically, the expression’s title element may be omitted with the assumption that it will be inherited from the work. If no title is provided for an expression, distinguishing characteristics must be provided in other elements, such as
Programmatic concatenation of the work title and one or more characteristics of the expression can be used to provide identification for the expression. For example, the expressions above may be identified by "Pavane pour une infante défunte (piano)" and "Pavane pour une infante défunte (orchestra)". In some cases, it may be helpful to assign a descriptive title to the expression, as illustrated below. The carrier of the manifestation is often a good source of this kind of descriptive text.
The
The
Each of the four MEI elements corresponding to FRBR entities may contain a list of constituent parts. All four entities utilize the same element:
However, the child elements of a component group must be the same type as the group’s parent. This allows for a more detailed description than is possible using the core MEI
This technique can also be applied when a single intellectual source is comprised of multiple physical parts. In the following example, the choral parts were published in four physically separate "signatures":
FRBR defines a number of terms that describe how the basic entities relate to each other. MEI provides the following elements for this purpose.
Each of the four FRBR entity equivalents – the work, expression, source, and item elements – allows a list of such relationship descriptions as its last child element.
Since relations are bidirectional, they may be defined on both entities involved, using pairs of oppositely-directed relation descriptors. The following FRBR relations are allowed in MEI as values of the relation element’s
Some of these relationships are already implicitly expressed by the MEI structural model: FRBR defines an expression entity as a realization of a work, but as this relation is implied by the expressionList element’s child relationship to its parent work element, the hasRealization/isRealizationOf relation does not need to be explicitly declared. Likewise, it is not necessary to specify by means of relation elements that an item is an exemplar of the source described by its parent source element. This resembles the FRBR model, which allows 1:n relationships both between works and expressions, and between manifestations and items.
However, as FRBR allows n:n relations between expressions and manifestations (in MEI: sources), a hierarchical model based on the structure of XML is clearly insufficient to express all possible expression / manifestation combinations. It is therefore required to declare these relations explicitly. In FRBR terms, a manifestation / source is an embodiment of an expression.
Within the
Moreover, the use of
Relations may also be used to point to external resources. For instance, each of the individual component works of the "Ring" could be encoded in separate files, with relations pointing to them.
In the file "ring.xml":
In the file "rheingold.xml":
MEI offers two related concepts for capturing relations between bibliographic items. The model of
However,
The
Within
All the components of
The following elements provide minimal identifying information for the intellectual work:
The identifier and title values recorded here may or may not be the same as those assigned to published versions of the work. Fuller details are available in section
The first few notes and/or words of a piece of music are often used for identification purposes, especially when the piece has only a generic title, such as "Sonata no. 3". They appear in catalogs of music and in tables of contents of printed music that include multiple works.
The following elements are provided for the inclusion of incipits:
The elements
Both
An MEI-encoded incipit may be captured in a
In addition,
To facilitate the capture of metadata associated with an incipit, MEI allows the following sub-elements within
Usually, the metadata captured in this manner is rendered alongside or in lieu of a coded or graphical incipit. It may or may not serve in a work identification capacity, depending on whether the incipit is intended to represent the entire work or a segment of the work. For example, if an incipit is provided for each aria in an opera, then the metadata pertains only to the aria, not the entire work.
The attributes key, tempo, and meter are often helpful for identifying a musical work when it does not have a distinctive title.
The
Additional information that aids the identification of the work may be encoded using
The following components provide detailed information about the work’s context, including the circumstances of its creation, the languages used within it, high-level musical attributes, performing forces, etc.
The following elements are provided to capture the history of a musical work:
The
The
Event lists and other text components, such as paragraphs, tables, lists, and text divisions (
The
The
A
Here is an example of the use of this element:
The following elements are available for description of a composition’s performing forces:
The
A cast list is a specialized form of list, conventionally found at the start or end of a dramatic work, usually listing all the speaking/singing and non-speaking/singing roles in the play, often with additional description (‘Cataplasma, a maker of Periwigges and Attires’) or the name of an actor or actress (‘Old Lady Squeamish. Mrs Rutter’).
Cast lists often function as identifying metadata and for this reason are permitted within the description of a work.
Because the format and internal structure of cast lists are unpredictable, a
A
In the following example,
The vocal qualities and associated roles for Beethoven’s opera Fidelio may be encoded as:
The
However, this element is unlikely to be useful in the context of a work description. It may be used here, however, for the very rare occasion when a work was conceived for and is only performable by a single person or group, as for certain "performance art" works.
It is common to find some roles presented in groups or sublists. Roles are also often grouped together by their function. To accommodate these situations, the
The
The detailed make-up of standard and non-standard ensembles may also be enumerated:
Where multiple instruments of the same kind are used, the
Instrument or voice specifications may be grouped using the
The preceding example also demonstrates how instrumental doublings can be accommodate through the use of nested
The
Solo parts may be marked with the
Music for a single player does not have to be marked as solo with the
An ad libitum part, i.e., not essential for the performance of the work, may be marked with the
The intended audience for the work and additional information about context for the work that is not captured in more specific elements elsewhere, such as
Often, it is helpful to identify an entity by listing its constituent parts. A simple description of the work’s content, such as may be found in a bibliographic record, can be given in single paragraph element:
Alternatively, a structured list of contents may be constructed using the
Each
To reference a contents list in an external location, use the
To facilitate the creation of music catalogs based on MEI header information,
The
The
Within
The
The
Alternatively,
When the FRBR (Functional Requirements for Bibliographic Records) module is available, the following elements may be used within
For more information about FRBR and the use of these elements, see chapter
The
The content of the
Many of these elements are already described in chapter
The
The element
The highest hierarchical level to describe the condition, in general, is at
The
A
A specialized element is furnished for the capture of title page information.
The
Detailed analysis of the title page and other preliminaries of older printed books and manuscripts is of major importance in descriptive bibliography and the cataloging of printed books. The following elements are suggested as a means of encoding the major features of most title pages for faithful rendition:
The following example shows the encoding of the title page of Vaughan Williams' On Wenlock Edge. Note the use of the
The physical appearance of title page information is often of considerable importance. One approach to capturing the appearance is to use the
The physical properties of a manifestation can be described using the following elements:
Encoding the extent and dimensions of a source:
The element
The
Another way of encoding dimensional information about a source is to use the element
The element
It is recommended to use at least the elements
For a more detailed description or encoding of a watermark,
To ensure that the description of the pictorial signs conforms to international standards and that the individual components of the watermark are correctly represented, the multilingual description catalogue of the Bernstein project or the IPH standard should be consulted. To refer to already existing databases with watermarks, see
Stamps can appear in many forms in manuscripts and prints, for example as library stamps, library signatures, postmarks, ownership marks, address stamps or legal notices. The description of the stamp therefore depends on individual, project-specific requirements. However, it is helpful to first consider whether it is sufficient to merely name the occurring stamps, or wether it is also desirable to detail their form and textual elements, or even refer to a graphic that shows a facsimile of the stamp.
In any case, for a better structuring of the information as well as for better machine readability, it is recommended to identify within the description of the stamp the implicitly or explicitly mentioned persons or institutions by means of
A higher level of distinction is also recommended for address stamps:
The
For describing the
If those value lists are not sufficient, however, it is recommended to design your own classification (see
While many other elements within structured description. It provides information about the collation of the manuscript; that is, how the individual leaves are bound and related to each other, and how the groups of bound leaves ("quires" or "gatherings") are related. Typically this uses these elements:
The nesting of
Multiple signatures (groups of nested pages, also known as "gatherings" or "quires") bound together can be reflected by encoding a sequence of
The
These attributes are used to point to the
On
With those attributes, page numbers can be derived from
Within
The values of those attributes, however, specify the height and width of the digital resource, the scan of the source, and they are typically given in pixels (see folded sheet.
Some printed scholarly editions like the Neue Bach-Ausgabe provide very detailed information about the sizes and binding of individual leaves of a manuscript. With
Sometimes, manuscripts (but also prints) are subject to modifications that do not change the textual content, but the actual physical item. Typical examples for this are patches glued on a page, or cutouts. Both these situations can be encoded inside
A patch is an additional writing surface attached to one of the sides of a
The
Depending on the parent, allowed values for
The exact position of the patch on the underlying surface may be specified using the optional
The (optional)
While the
The example above describes a bifolium where a patch is glued to the inner right side.
Cutouts are treated almost similarly as
The dimensions (
The genetic aspect of applying patches or cutting out parts of a page is described in
The dating of printed sources can help establish a history of the source, its provenance, and edition. In the absence of bibliographical information, e.g., on the edition or the year of origin, plate numbers can be an essential aid to dating. Plate numbers are designations assigned to a resource by a music publisher, and have no specific structure so may contain letters, numbers, punctuation, or other marks. When present, they are typically printed at the bottom of each page, and sometimes appear on the title page as well. In MEI plate numbers can be encoded within the
For
In documents (handwritten or printed) there can be various kinds of entries, additions, corrections, marginalia and revisions; all these interventions in the “original” manuscript can be documented under
This entry could be encoded as follows:
A slightly more structured form would be:
These transcriptions – as in the musical text – can also be marked by means of
For structuring purposes, it may sometimes be useful to separate entries made by a composer in the manuscript from those made by others:
Under certain circumstances,
The
The
The
The
The following example demonstrates how to structure detailed information about a repository (including the use of
Conservation activities are often necessary to ensure the long-term preservation and integrity of manuscripts or printed sources. These conservation activities might include interventions such as re-binding, restoration, or modifying paper chemistry. In MEI the
Similar to the MEI
This chapter introduces common use cases for MEI metadata.
Many libraries, repositories, research sites and related institutions collect bibliographic and documentary information about machine readable music documents without necessarily collecting the music documents themselves. Such institutions may thus want access to the header of an MEI document without its attached text in order to build catalogs, indexes and databases that can be used to locate relevant texts at remote locations, obtain full documentation about those texts, and learn how to obtain them. This section describes a set of practices by which the metadata headers of MEI documents can be encoded separately from those documents and exchanged as freestanding MEI documents. Headers exchanged independently of the documents they describe are called independent headers.
An independent header is an MEI metadata header that can be exchanged as an independent document between libraries, archives, collections, projects, and individuals.
The structure of an independent header is exactly the same as that of an header attached to a document. This means that an
When deciding which information to include in the independent header, and the format or structure of that information, the following should be kept in mind:
The following element is provided to accommodate non-MEI metadata:
The
An MEI processor is not required to validate or otherwise process any markup within the
The MEI header allows for the provision of a very large amount of information concerning the text itself, its source, its encodings, and revisions of it, as well as a wealth of descriptive information, such as the languages it uses and the situation(s) in which it was produced, together with the setting and identity of participants within it. This diversity and richness reflects the diversity of uses to which it is envisaged that electronic texts conforming to these Guidelines will be put. It is emphatically not intended that all of the elements described above should be present in every MEI Header.
The amount of encoding in a header will depend both on the nature and the intended use of the text. At one extreme, an encoder may expect that the header will be needed only to provide a bibliographic identification of the text adequate to local needs. At the other, wishing to ensure that their texts can be used for the widest range of applications, encoders will want to document as explicitly as possible both bibliographic and descriptive information, in such a way that no prior or ancillary knowledge about the text is needed in order to process it. The header in such a case will be very full, approximating the kind of documentation often supplied in the form of a manual. Most texts will lie somewhere between these extremes; textual corpora in particular will tend more to the latter extreme. In the remainder of this section we demonstrate first the minimal, and then a commonly recommended, level of encoding for the bibliographic information held by the MEI header.
Supplying only the level of encoding required, the MEI header of a single text will look like the following example:
The only mandatory component of the MEI Header is the
While not formally required, additional information is recommended for a minimally effective header. For example, it is recommended that the person or corporate entity responsible for the creation of the encoding should be specified using
Furthermore, If the electronic transcription is a member of a series of publications, the series title and publisher should be included using the
We now present the same example header, expanded to include additionally recommended information, adequate for most bibliographic purposes, in particular to allow for the creation of an AACR2-conformant bibliographic record.
Mapping elements from the MEI metadata header to another descriptive system may help a repository harvest selected data from the MEI file to build a basic catalog record. For this purpose, the following attribute is provided on most elements occurring within
The encoding system to which fields are mapped must be specified in
The term corpus may refer to any collection of musical data, although it is often reserved for collections which have been organized or collected with a particular end in view, generally to illustrate a particular characteristic of, or to demonstrate the variety found in, a group of related texts. The principal distinguishing characteristic of a corpus is that its components have been selected or structured according to some conscious set of design criteria.
In MEI, a corpus is regarded as a composite text because, although each discrete document in a corpus clearly has a claim to be considered as a text in its own right, it is also regarded as a subdivision of some larger object, if only for convenience of analysis. In corpora, the component samples are clearly distinct texts, but the systematic collection, standardized preparation, and common markup of the corpus often make it useful to treat the entire corpus as a unit, too. Corpora share a number of characteristics with other types of composite texts, including anthologies and collections. Most notably, different components of composite texts may exhibit different structural properties, thus potentially requiring elements from different MEI modules.
Aside from these high-level structural differences, and possibly differences of scale, the encoding of language corpora and the encoding of individual texts present identical sets of problems. Therefore, any of the encoding techniques and elements presented in other chapters of these Guidelines may therefore prove relevant to some aspect of corpus encoding and may be used in corpora.
The meiCorpus module defines a single element:
The
This two-level structure allows for metadata to be specified at the corpus level, at the individual text level, or at both. However, metadata which relates to the whole corpus rather than to its individual components should be removed from the individual component metadata and included only in the
In some cases, the design of a corpus is reflected in its internal structure. For example, a corpus of musical incipits might be arranged to combine all compositions of one type (symphonies, songs, chamber music, etc.) into some higher-level grouping, possibly with sub-groups for date of publication, instrumentation, key, etc. The
If it is essential to reflect the organization of a corpus into sub-components, then the members of the corpus should be encoded as composite texts instead, using the
All composite texts share the characteristic that their different component texts may be of structurally similar or dissimilar types. If all component texts may all be encoded using the same module, then no problem arises. If however they require different modules, then the various modules must all be included in the schema.
An MEI-conformant document may have more than one header only in the case of a TEI corpus, which must have a header in its own right, as well as the obligatory header for each text. Every element specified in a corpus-header is understood as if it appeared within every text header in the corpus. An element specified in a text header but not in the corpus header supplements the specification for that text alone. If any element is specified in both corpus and text headers, the corpus header element is over-ridden for that text alone.
The
For example, the following markup shows the structure of a corpus consisting of three texts, the first and last of which share the same encoding description. The second one has its own encoding description.
These Guidelines include proposals for the identification and encoding of a far greater variety of textual features and characteristics than is likely to be either feasible or desirable in any one corpus, however large and ambitious. For most large-scale corpus projects, it will therefore be necessary to determine a subset of recommended elements appropriate to the anticipated needs of the project; these mechanisms include the ability to exclude selected element types, add new element types, and change the names of existing elements.
Because of the high cost of identifying and encoding many textual features, and the difficulty in ensuring consistent practice across very large corpora, encoders may find it convenient to divide the set of elements to be encoded into the following four categories:
The module described in this chapter offers the means to describe music in so-called ‘Common Music Notation’ (CMN, sometimes referred to as ‘Common Western Music Notation’). For this purpose, it provides a number of special elements and adds several attribute classes to elements from the
This chapter is supposed to frame the repertoire target by the module, i.e., what is Common Music Notation?
This section describes the use of basic features of MEI important for encoding CMN material. Most of the elements discussed here are defined in chapter
Arguably, the most important element of the CMN module is the
The following example demonstrates the use of the
A
Each
Later in the file:
When encoding a score in CMN, MEI relies on the following elements from the
A
The following example describes a score in common time with 3 flats:
For encoding more complex time signatures, simple mathematical symbols such as asterisks and plus signs are allowed in
Non-standard key signatures have to be encoded with a
Other attributes allow the description of default page and system margins and fonts for text and music:
There are other attributes that allow the specification of many further details of a score. These are available from the element definitions accessible at
When content is provided for
A
Every
The order of
In addition to the parameters inherited from
A staff with a tenor clef is encoded as in the following example:
In the case of transposing instruments, the key-related attributes described above may be used to override the written key expressed in the
There are a number of additional elements that can be used as children of
With the exception of
Such flexibility as this may require close inspection of an encoding to retrieve the correct definitions for a given staff. As a general rule, the closest preceding and most specific element provides this information: For example, a
Every
Usually
In some rare cases one can find different meters in different layers, as seen in Maurice Ravel’s Oiseaux tristes.
In these cases it is necessary to encode each
Sometimes it is necessary to re-define the parameters of a score or a staff. For example, a score may change keys, the number of staves, or use different layout settings. Likewise, a staff may change its clef, change the number of layers, or become invisible. To accommodate these changes,
In addition,
It is also possible to include
The following example shows how to change the key and meter signatures within a score. The
Undoubtedly, the most important element for any music notation representation is the
In CMN, notes are determined by three basic parameters:
A single note, in this case a quarter note C4, is therefore encoded as:
The default values for middle C or c' (the C in the middle, i.e., fourth C key from left, on a standard 88-key piano keyboard) is represented on the first ledger line in G clef notation and labelled as C4, in the naming convention of SPN. The note one semitone below would be labelled B3, and A4 would refer to the first A above C4.
The usual CMN-specific values for
Additionally, the following two values borrowed from mensural notation are allowed, as they sometimes also appear in CMN:
Please note that their mensural counterparts bear different names in order to clearly distinguish between repertoires.
Dotted durational values are accommodated by the
The CMN module adds two optional attributes,
The encoding of the left-most example would look like this:
Grace notes are not counted when determining the measure’s conformance to the current time signature. Therefore, the written rhythmic value of the grace note. The time necessary for the performance of grace notes can be unspecified, calculated based on taking time from other non-grace notes, or specified precisely using the
The values of
The
Grace notes can be placed within a
More information about grace notes in the context of other CMN ornaments is available in chapter
Often we find multiple notes that are not sounding in succession but sounding simultaneously. These chords in MEI are basically defined as a container of notes that are stemmed together.
A chord is any set of pitches consisting of multiple notes that are to be played simultaneously and are usually grouped together visually with a single stem. In MEI the
Some notational features like articulations or lyrics are connected to a whole chord instead of a single note. Therefore elements like Prelude in C-sharp minor, Op. 3, No. 2 all chords carry an accent.
The
The
The CMN module makes the
The following code demonstrates one method of encoding the first chord in the last measure in the image above. The
Alternatively, the encoder may choose to treat the notes in the lower staff as logically belonging to the top staff and to ‘displace’ them using the
The choice between these two methods of representing material that crosses staves is often software-dependent.
Whereas
The typical scenario for
The following code represents an encoding of shared stems in the bassoon and trumpet staff using
The
The
The
It is a semantic error to mix an
The Kirchenpausen) are not captured by
The
MEI offers multiple ways of defining onsets and offsets of timed musical events such as notes and slurs. The most common and most musician-friendly approach to this is through the use of a combination of the attributes
The timestamp (
For expressing durations, MEI offers the
For ‘spanning’ elements like slurs, which are members of the xm + y", where x is the number of full measures that this particular feature lasts (or the number of bar lines crossed) and y is the timestamp in the target measure where the feature ends. The timestamp is expressed using the same logic as described above. For example, a value of "0m+3" in 4/4 time indicates that the element bearing this attribute, a slur for example, ends on beat 3 of the same measure where it started. A value of "1m+1.5" would indicate an end on the second eighth note of the following measure. In 6/8 time, the value "2m+3" means that the feature ends two measures later on the third eighth note.
Over time, in addition to the basic features of note, chord, and rest, many other symbols have been added to CMN. The following section describes some of these symbols and introduces their handling in MEI.
A very common feature of music from the CMN repertoire is the beaming of eighth or shorter notes. MEI provides two elements for the explicit encoding of features joined by beams.
Use of the
Whereas in music notation every note value shorter than an eighth adds another beam (sometimes referred to as ‘secondary beams’), in MEI only one beam element is used, no matter the durations of the contained notes. The visual rendition of a set of beamed notes is presumed to be handled by rendering processes.
From the 19th century onwards, it became quite common to break secondary beams to increase readability of longer beamed passages. The optional after the note or chord bearing the attribute. The value of
In the music of the second half of the 20th century, it is quite common to indicate acceleration or deceleration using converging (feathered) beams as in the image below:
The encoding of such a beam is accomplished using the
The duration of notes, rests, or chords under a beam which carries the
Beams that connect events on different staves may be encoded in two different ways. First, a single-layer approach may be taken that treats the events lying under the beam as logically belonging to the same layer as the initial event but visually ‘displaced’ to an adjacent staff. In the example above from Moritz Moszkowski’s
12 Pianoforte Studies for the left hand, Op. 92, MoszWV 117 this method makes even from a semantic perspective perfect sense. It can be achieved with an additional
In other contexts however, a staff-by-staff methodology may be employed in which the notes are encoded according to the staff on which they appear. This encoding style requires that each
Downstream processing needs are the determining factor in the choice between the two alternative encoding methods.
Due to the potential problem of overlapping hierarchies, the Violin Sonata demonstrates a typical example of such hierarchy-crossing beams:
In addition to the explicit encoding of beams accommodated by the
The
The
One of the most specific features of CMN is the use of ‘curved lines’ which connect notes. These lines are used to indicate various musical features, depending on their context.
A tie is a curved line connecting two notes of the same pitch. The purpose of a tie is to join the durations of both notes, so that the first note sounds for the combined duration. In other words, there is only one onset for both notes.
In MEI, ties can be encoded in different ways, depending on the level of detail that the encoder wants to preserve. The simplest solution is to use the
This attribute allows three values:
The scope of the
When
This is equivalent to the following, more verbose version:
A slur is a curved line that connects a group of notes of different pitch. It normally indicates that an instrument-specific performance technique should be applied to the affected notes. For example, in notation for winds, the notes should be played in one breath, while a single bow is indicated for string instruments.
In MEI, slurs may be encoded in a similar way to ties: i, m or t are followed by a single digit in the range 1 to 6, as in the following example:
The reason for this difference is that slurs, unlike ties, may overlap, so that a second slur may start while the first slur is still ongoing. The digit indicates the level of nesting of slurs on the note; ‘1’ indicates no nesting, while ‘2’ indicates the existence of 2 slurs in which this note participates, and so on. In the example below, the second and third quarter notes lie under 2 slurs. The second note is covered by the slur that begins on the preceding note and by the one that it starts. The third note is affected by the slur that begins on note one and by the one that starts on note two.
To support analytical operations,
In this encoding, the notes in the beamed group are marked as participating in two slurs – one connecting just the beamed notes and one connecting the first and last notes of the layer. In ‘nested’ slurs like this, the function of the slurs is usually different. Here, the slur connecting the 8th notes indicates legato performance, while the longer slur functions as a phrase mark.
While ties are not normally allowed to cross layers or staves, slurs may. The following example demonstrates how cross-staff slurs may be encoded using the
Slurs and ties that cross system or page breaks are often split into two separate symbols for rendering. One slur or tie ends at the last bar line, another one starts at the beginning of the new system. MEI expects this to be the default rendering behavior, so that in situations like these, the regular
Sometimes, however, one of these two symbols is missing in the document, or the encoder wants to provide additional (often visual) information about the slur or tie. In these cases, using an attribute is not an adequate solution. Therefore, MEI offers dedicated Phrasierungsbogen), whereas the Bogensetzung) except ties. All three elements have nearly identical models.
Another reason for using elements instead of attributes for ties, slurs, and phrase marks is that only elements may be combined with the functionality provided in chapters
Although these elements are allowed within a
Obviously, to be complete the slur in the above example needs to be ‘attached’ to the notes somehow. The ‘vertical assignment’ can be indicated for the example above using the
For the ‘horizontal assignment’, the encoder may choose between two different mechanisms. The first uses two timestamp attributes as described in section
By using
For human readability, it is recommended to encode where they end or even in the last measure regardless of their beginning and ending points in the music. This last option makes all references contained within these elements ‘back references’. Back references are necessary when using processing software that treats the encoded file as a stream; that is, programs that process the file without creating an in-memory representation of its contents.
When using the
If the encoder wishes to draw attention to the appearance of a slur or tie in a given source, the
Common Music Notation provides two different methodologies for expressing the volume of a note, phrase, section, etc. The first is a verbal instruction providing such information in human language, possibly in an abbreviated form. An example is the word piano, indicating a quiet volume, often abbreviated as p. In MEI, verbal instructions like this are encoded using the
By convention,
However, when the layers of a staff have different dynamic indications, the
A suitable MIDI value may be assigned to a dynamic marking using the
The location of a dynamic marking in relation to a staff may be specified using the
Dynamics must also be associated with a particular time point in a measure, using the
Dynamics which do not have an explicit endpoint are often referred to as ‘instantaneous’. On the other hand, some dynamic directions indicate a continuous change that must have a defined end point. It is possible to specify the logical scope of continuous dynamic marks using the attributes
To capture the fact that the crescendo in the example above continue until the first beat of the next measure, they may be marked:
Any combination of
All musical elements affected by the
It is recommended that the list of references in
In addition to verbal instructions, Common Music Notation uses graphical symbols to indicate ‘continuous’ dynamics. These crescendo and decrescendo (or diminuendo) symbols are encoded in MEI using the
Marking the logical extent of hairpins is possible using the same attributes as for
The following example from Béla Bartók’s
Mikrokosmos, Sz.107 shows a diminuendo between two staves that begins on the first beat (in the current measure) and ends on the first one in the penultimate measure. The duration is highlighted with a dashed line, which can be indicated with the
Tuplets indicate a localized change of meter; that is, a given duration in the regular meter is divided between a group of notes with irregular (according to the current meter) rhythmic values. The most common tuplet is a so-called ‘triplet’, in which three notes take the time normally occupied by two.
The relation of the tuplet to the underlying meter is specified using the of the same duration to be replaced. For example, when three eighth notes replace one quarter note in common time,
The duration of the entire tuplet may be encoded using the usual ‘power of 2’ values, e.g., 1, 2, 4, etc., in the
Tuplets are often highlighted using brackets above or below the affected notes. The presence and position of these brackets can be encoded using the
Usually, however, tuplets are rendered with a bracket (
Further visual control comes with the
In addition to
The
In some situations, a tuplet is made up of events in different measures. As this raises the issue of non-concurrent hierarchies, it is not possible to encode such situations with the
This section introduces elements and attributes which may hold CMN-specific performance instructions. The functionality described herein is related to the
In CMN, the notes of a chord are sometimes performed successively rather than simultaneously. This behavior, called arpeggiation, is normally indicated using a vertical wavy line preceding the chord. MEI offers the
For arpeggios that involve chords spanning multiple staves as a continuous arpeggio (instead of two separate arpeggios), the
The usual direction for the performance of an arpeggio is from lowest note to highest, but this is not always the case. The customary signal of an downward arpeggio is an arrowhead added to the bottom of the wavy line. The indication of the presence of an arrowhead and the direction of the arpeggio are handled separately, however. The
The following examples illustrate various ways in which the arrow and order attributes may be employed. The default visual rendition and performance are assumed in the absence of both attributes, while the typical downward arpeggio is indicated by the presence of both attributes. The last two possibilities occur less frequently, but are sometimes appropriate: The presence of the arrow attribute without the order attribute may be used in those cases where the arrowhead is redundant but is added to the symbol for the sake of consistency or when the direction of successive arpeggios changes frequently. The last possibility, an order attribute without an arrow attribute, is ambiguous; however, it can be used as an encoding shortcut since a downward arpeggio must have a visual indication of its direction to distinguish it from the upward arpeggio; therefore, the presence of the arrowhead can be implied.
A third, and somewhat counter-intuitive, value for
Whereas an arpeggio ‘staggers’ the onset times of the notes of a chord, a glissando denotes a situation where the pitch ‘slides’ from one note to another. It makes no difference whether this slide produces distinct intermediate pitches (as on the piano) or not (as on the trombone), though the latter is sometimes referred to as portamento. The visual appearance of a glissando, which MEI encodes as
The
A bend is a variation in pitch (often microtonal) upwards or downwards during the course of a note. Typically, the performer attacks the note at ‘true’ pitch, changes the intonation, then returns to true pitch. The not be used for laissez vibrer (l.v.) indications. As with other elements in the
CMN has two slightly different concepts which are both called tremolo. The first is a rapid repetition of a single pitch or chord, whereas the second is a rapid alternation between two different notes or chords. In addition, either species of tremolo may be measured or unmeasured. A measured tremolo is an abbreviation for written-out notation; that is, the tremolo is intended to be perceived as notes with distinct rhythmic values. On the other hand, in an unmeasured tremolo no specific number of alternations is intended.
For the repetition of a single note or chord, MEI offers the
The
However, the number of slashes present on the note may disagree with the number of slashes that should be present according to the
Note that within beams the number of slashes should be adjusted anyway.
The a priori. When used this way, the
In the case of alternating pitches, MEI offers the
Similar to
A very common feature of music notation from the CMN period is the so-called ‘fermata’ (or ‘corona’ in Italian). It is usually written as a dot above or below an arc. It may stand above or below the staff it affects with its ‘open’ side usually facing towards the staff. A fermata indicates that a related note or rest should be held longer than its written duration would normally require. Sometimes, a fermata occurs over or under a bar line to indicate a pause or even the end of a phrase or section.
In MEI, fermatas may be encoded using an attribute on elements like
However, if there is further (visual) information about the fermata that should be addressed in the encoding, MEI offers the ("curved"), a semisquare
("square"), or a triangle
("angular"). If the fermata should be rendered using some other symbol, a user-defined symbol may be referred to using an
An indication that a passage should be performed one or more octaves above or below its written pitch is represented by the
Its
CMN contains a number of symbols which are closely related to a specific instrument. MEI offers elements for three of these symbols, namely breath marks, harp pedal diagrams, and piano pedals.
A breath mark indicates a point at which the performer of a wind instrument or singer may breathe. It is sometimes also used to indicate a short pause or break for instruments not requiring breath, which allows it to also serve as a guide to phrasing. In MEI, breath marks are encoded using the
The usual sign for the breath mark is a comma; however, other visual forms of the breath mark may be indicated using the
Modern harps have seven pedals which allow adjustment of their strings to different pitches. The settings for these pedals occur at the beginning of the harp notation and/or whenever it is necessary to change the harp’s tuning. These settings may be rendered using letter pitches (in the order of the pedals from left to right) or in a diagrammatic fashion, such as the form invented by Carlos Salzedo.
In MEI, harp pedal settings are encoded using the
The musical intention of the element is described using the
In the first diagram of the preceding example, the B, and E pedals are in the flat position, while the C pedal is in sharp position. The other, non-specified pedals are in the natural position.
Music for piano also often includes indications of the use of pedals. In MEI, these symbols are encoded using the
The meaning of the mark is captured using the
To specify the pedal, that has to be used, the
A common feature for keyboard music is fingering, indicating the finger, which should be used to play a single note. Basic fingering can be encoded in MEI using the
The following example, taken from Charles-Louis Hanon’s
Le Pianiste virtuose, shows typical fingering:
The term ossia, Italian for "or", denotes an alternative for a certain passage which is provided by the composer without any preference of one alternative over another. An ossia often provides a simpler (easier to perform) version of the original content. Another frequent use case for ossia is the provision of indications about performance practice, such as an alternative version with ornamentation written out in full. In all cases, it is up to the performer to choose between the alternatives.
Most often an ossia is rendered above the main staff on a reduced-size staff. Sometimes, however, the alternate material occurs on the same staff as the primary text, but in a separate layer. In this case, the alternative material is usually rendered in small-sized notation on the normal-sized staff. For both situations, MEI offers the
The example above demonstrates that only one of the two
All staves within
In case of an inline ossia, the whole setup of elements moves down one step in the hierarchy, as seen in the following example:
Cue notes are smaller notes that usually occur in an orchestral or vocal part and are not to be played or sung by the corresponding musician, but by other instruments or singers. Cue notes are used for orientation, i.e., to follow the music during longer pauses and to find the correct re-entry point more easily. In MEI the
Most often cue notes occur in a group rather than one by one. This is because usually a whole layer of another part is inserted as a cue. Therefore, a complete
Ein deutsches Requiem.
If the voice from which the cue notes originate is also encoded, they should refer to their sounding counterpart with the
Cue notes must not be confused with other small notes such as grace notes or fiorituras.
In CMN scores, there is often a large number of natural language instructions. Some of them concern the loudness and the speed of the performance, in which case MEI offers the elements
A tempo or character indication is often provided above the topmost staff of the first measure of a score, movement, or section. This indication, such as "Allegro moderato" or "Andante maestoso", may be regarded as a label. Though it is possible to label the movement, etc. using a
Labels which address the tempo at which the music should be performed should be encoded using the
Rehearsal marks are another specialized kind of directive. Consisting of letters, numbers, or a combination of both, rehearsal marks are used in scores and corresponding performer parts to identify convenient points to restart rehearsal after breaks or interruptions. For this reason, they are often visually emphasized by placing them within a square or circle. In MEI, they are encoded using the
The following detail from an edition of Hector Berlioz’ Symphonie Fantastique shows a typical example:
As rehearsal marks usually are placed at the beginning of a measure the
The following example demonstrates how rehearsal marks often apply to more than one staff. In this instance, the rehearsal mark is placed above staff 1 and below staves 7 and 11.
Repetition is a characteristic feature of music. Many musical forms rely on repetition (sometimes with modification) of distinct sections of the music. Repetition in this sense can be thought of as ‘structural’. At the same time, composers and engravers of music often use local symbols for repeating smaller portions of music instead of writing them in full more than once. In this case, the repetition is better defined as a species of abbreviation.
Large-scale structural repetition, utilizing
In addition to repetition at the section level, CMN includes a number of different symbols for measure-level repetitions. Many of these symbols are found in manuscripts and may be regarded as personal conventions of their respective authors. Some signs, however, have been widely adopted. For example, it is common to indicate the repetition of a single beat or an entire measure with one or more diagonal lines, sometimes with dots at the upper left and lower right, much like a percent sign. The illustration below contains the most common signs:
In general, MEI places primary emphasis on the capture of the semantic meaning of symbols, not their visual rendition. In this case, the focus is on the material being repeated, for example, a beat, a measure, a 2-measure fragment, etc. The following elements are provided for this purpose:
The
In addition to its indication of a repeated beat, the beatRpt element is sometimes used in popular music notation, especially in guitar or percussion parts, to indicate a repeated rhythmic pattern. The
The
The Waldstein sonata illustrates such usage:
As seen in the example above, it is possible to continuously repeat half measures, even across bar lines.
The
The
All elements described above allow for association of the sign with a symbol in a digital facsimile (via the
This module includes elements and attributes for the encoding of ornaments typical of ‘Common Music Notation’ (CMN). Ornaments are formulae of embellishment that can be realized by adding supplementary notes to one or more notes of the melody. In written form, these are usually expressed as symbols written above or below a note, though some have a more complex written expression, such as those that involve multiple notes and/or include grace notes.
These symbols may have different resolutions depending on a large number of factors, such as historical context, national boundaries, composer, scribe, etc. The elements described here, therefore, are not bound to a specific symbol; they are, instead, meant to encode the encoder’s interpretation of a symbol and its position on the staff.
Nonetheless, in order to establish common ground, the guidelines suggest commonly accepted symbols and realizations for the ornaments supported by MEI.
The following sections will introduce each element in detail for all types of ornaments supported.
When encoding CMN, ornaments should be encoded within a
The following example demonstrates the encoding of a mordent over a middle C:
Alternatively, the relationship of an ornament to a note can be expressed in terms of beats with the attribute
The following example shows the use of
The relationship between an ornament and the notes on staff must always be encoded. It is, in fact, a semantic error not to specify a starting event or time stamp for an ornament.
In their resolution, ornaments will involve auxiliary notes, which typically follow the key signature or the scale of the current key. When the ornament involves other chromatic auxiliaries, an accidental is expressed next to or above the ornament sign. The attributes
The symbols and sounded resolutions suggested for each ornament in this chapter are to be considered defaults. Nevertheless, because of the great historical and geographical variance in the notation of ornaments, the encoder is given methods to override the default resolutions.
It is possible, for example, to specify in the
Alternatively, resolutions can be defined on a case-by-case basis by encoding a specific resolution using the
A mordent is an ornament that involves an auxiliary note a step above or below the principal note. The presence of a mordent is encoded with the
It is recommended, but not required, to use the attribute
The attribute
The following example demonstrates the encoding of simple mordents:
Occasionally, mordents can be longer, employing five notes instead of three. The
Trills are a type of ornament that consists of a rapid alternation of a note with one a semitone or tone above. A trill is encoded with the
Trills in modern notation are usually expressed with the abbreviation "tr" above a note on the staff. Often the abbreviation is followed by a wavy line that indicates the length of the trill.
The following example demonstrates the encoding of simple trills:
It has been specified earlier that it is a semantic error not to encode a starting event or time stamp for an ornament. This starting point of a trill can be expressed with the
When giving an end point to trills, the
Chromatic alterations of auxiliary notes are occasionally expressed on the staff using small notes enclosed in parentheses, as shown in the example below. However, the attribute
Some trills may be introduced by a turn or followed by an inverted turn leading to the next note (see Le garzantine, Musica 2003, p. 911). In such cases, the trill is encoded as in previous examples and associated with the principal note. Starting or concluding turns are notated on the staff (in
The following example, from a keyboard sonata by Joseph Haydn, shows a trill with concluding grace notes (called Nachschlag):
Symbols and abbreviations for trills have changed and evolved considerably throughout history. Strategies to clarify the encoding and interpretation of ornaments have been discussed in section
The abbreviation "tr" followed by a wavy line spanning multiple notes is sometimes used to indicate multiple trills:
The encoding of this kind of trill may vary depending on the purpose of the encoding. For representation of the source, a single trill is sufficient:
To support analytical and aural rendering applications, however, each trill may be explicitly encoded, as the following example demonstrates:
However, when it is necessary to support multiple outputs, use of the
Another situation that requires disambiguation of an ornament’s name and its potential rendition is due to the fact that the symbols for trills and mordents have been often used interchangeably in the past. The following example, taken from
Klavierbüchlein für Wilhelm Friedemann Bach
(1720), shows a trill (Trillo) identified by the symbol associated with a mordent in modern practice. Nonetheless, J.S. Bach’s suggested resolution should be encoded with a variant of the procedure presented above.
In the example below, the child elements of
Depending on the purpose of the encoding, it may be more convenient to encode the regularized text within the stream of events, along with a corresponding choice with regard to the existence of the trill marking, as in the following example:
The
This approach facilitates substitution of the realization of the trill for the original written note (as well as the opposite procedure) and is therefore the recommended markup for applications where exchange of this kind is desirable.
A turn is an ornament that typically consists of four notes: the upper neighbor of the principal note, the principal note, the lower neighbor, and the principal note again.
The presence of a turn is encoded with the
It is recommended, but not required, to use the attribute
The attribute
The following example shows the encoding of a simple turn:
Turns can sometimes be performed after the principal note (usually on the second half of the beat, see Read 1979, p. 246) and leading to the following event. To indicate this, the turn symbol is typically written in between the principal note and the next. These kind of turns are encoded with the attribute
The following example from Beethoven’s piano sonata no. 1 in F minor, op. 2, no. 1, mvmt. 2 demonstrates the encoding of turns with the
CMN ornaments that are not mordents, trills, or turns can be encoded with a generic
This element allows the encoder to represent ornaments as textual strings (e.g., with a Unicode symbol) or with a user defined symbol. Chromatic auxiliaries can be represented with
For example, Johann Sebastian Bach used non-standard ornaments in the Klavierbüchlein für Wilhelm Friedemann Bach:
The ornament for (5) doppelt-cadence could be encoded in the following way, by adopting the Unicode code-points defined by the SMuFL standard:
A resolution, or expansion of the ornament can be provided as discussed in
Particularly in baroque keyboard music, but also in the early classical period, various combinations of ornaments can be found. Despite being written vertically above the same note, they are to be performed in sequence.
The following example from Carl Philipp Emanuel Bach’s song Dorinde Wq 199/7 shows a turn followed by a inverted mordent:
When encoding the example above, both ornaments will be positioned above the same note. The encoded order of the elements, moreover, may correspond to the performed sequence, which in this example is top to bottom: first the turn, then the mordent. As every renderer deals differently with such combined ornaments it is best practice to encode the performed sequence additionally with
This chapter describes the module for encoding mensural notation from the late 13th century to about 1600. Historically, mensural notation preceded the development of Common Music Notation (CMN) and it included a wide range of features that persist in CMN and that can be encoded in a standard manner in MEI. In mensural notation, pitches are notated as in CMN, leaving out here the major exception of musica ficta. The pitch is given by the position of the note on the staff and the current clef as in CMN, and the mensural module introduces no modification to MEI regarding how pitches are encoded.
There are a number of differences, however, in the representation of duration in mensural notation. The mensural module introduces specific attribute values for notes and rests for appropriately encoding mensural durations. One of the main differences is that the duration of a note is not determined by its symbol, but also by the meter and the context in which the symbol appears in relation to other notes and rests in the same voice. The meter is given by one of the 16 mensural species provided by four levels of division: modus major, modus minor, tempus and prolatio. In the case of triple meter and depending on the specific context where the note is positioned, certain rules must be applied in order to determine the duration of a note. In these cases, encoding both the sign and its actual duration is highly recommended (as will be shown in
Another difference is the use of proportions that are indicated by numeric ratios or by specific mensuration signs. The proportions indicate that the durations have to be modified and they may be combined. Proportions and mensuration signs were eventually simplified and became time signatures in CMN. The attributes and elements available in this module for encoding mensural signs and proportions can be found below (see
In mensural notation, notes can also be notated in ligatures that regroup two or more notes. Ligatures were a legacy from an earlier notation system that were still widely used in Renaissance music notation. They gradually disappeared during the seventeenth century. The mensural module provides multiple ways of encoding the ligatures.
When the mensural module is included,
Normally, longa rests are vertical strokes occupying two or three spaces in the staff, depending on the mensuration. For instance, in longa rests can be present in the same piece, regardless of the modus minor. For this reason, the
The example below illustrates this case in a passage in perfect modus from the triplum voice of a motet in the Roman de Fauvel music manuscript. The blue arrows on the image are pointing to the two-breve and three-breve rests in this passage.
In ternary mensurations, the ambiguity between the note shape and its actual duration requires specific attention. The rules of mensural notation can require the alteration or the imperfection of a note; that is, an increase or reduction in its performed duration. In these cases, if the encoding is intended to be used for more than just graphically representing the notation, encoding only the note shape by means of the
The last three values are to be used exclusively in Ars antiqua mensural notation, where semibreves, and longa. Examples of each of these six values are presented below. In these examples, the ‘voice’ staff renders the notes in the code snippet, and the ‘reference’ staff, together with the dotted bar lines, are shown to help to visualize the relative values of the notes in the ‘voice’ staff.
The following example illustrates an alteration (the second brevis) in modus minor perfectus. Notice that the second brevis has doubled its regular value, it has been altered, unlike the first one.
It is possible to omit the longas are perfect, just as the mensuration (perfect modus minor) indicates. Therefore, the longas.
The following example illustrates an imperfection (the two longae) in modus minor perfectus with the same longa-brevis-brevis-longa sequence but with an additional dot of division between the two breves (see longae have been imperfected, unlike the previous example in which they kept the perfect value indicated by the mensuration.
The following example in modus minor imperfectus illustrates the use of a dot of augmentation following the longa (see longa, which is supposed to be imperfect according to the mensuration, has a perfect value due to the augmentation dot.
Finally, the following example illustrates the Ars antiqua style, for perfect modus, with the breve equivalents notated in the lower staff for reference (as in the previous examples).
Note: In Ars Antiqua, only the longa could be "perfecta" / "imperfecta" and the brevis could have a regular value ("recta") or be "altera". In the Ars nova, principles of imperfection and alteration were extended into the other note levels (brevis-semibrevis and semibrevis-minima). This means that the breves in Ars antiqua do not have a "perfecta" / "imperfecta" quality, and this is why there is no breves in the previous example. However, the brevis can have a ternary division (indicated by minor semibreves or into a minor-maior pair of semibreves. The encoding also allows for the possibility of encoding a binary division of the breve in Ars antiqua notations: the indication semibreves. This is why in this example with semibreves do have a
An alternative encoding---removing the semibreves)---would be:
The conjunct use of the
In opposition to regular imperfection, which is caused by a note of the next smaller degree (e.g., a perfect brevis imperfected by a following/preceding semibrevis), partial imperfection is caused by a note of two or even three orders apart. As an example, consider an imperfect longa made up of two perfect breves. This longa can be ‘partially imperfected’ by a following/preceding semibrevis. This semibrevis causes part of the longa—one of its perfect breves—to be imperfected, taking away one-third of one of its two halves. In this case, the longa’s value changes from 6 semibreves (two perfect breves) into 5 semibreves. Partial imperfection is not supported by the longa’s value from 6 semibreves to 5 semibreves, the corresponding attributes to encode this particular case of partial imperfection would be
Partial imperfection can also happen from both sides of a note at once, as shown below:
An example of partial imperfection caused by a note three orders apart is given next. Here the longa is partially imperfected by a minima (instead of by a semibrevis).
In the next example, the longa is also imperfected by a minima. However, the longa here (18 minimas) is different from that of the previous example (12 minimas).
Using the mensural module, mensuration signs can be indicated with the attributes available on the
The division levels corresponding to modus maior, modus minor, tempus, and prolatio can be encoded in the
The mensur signs themselves can be encoded in the
The following example illustrates a change in mensuration. In this case, the element
Sesquialtera is frequently used to change the mensuration. The effect of the sesquialtera on the mensuration can be encoded by using the
It is common in Ars antiqua and some Ars nova pieces to have no mensuration signs. In this case, the mensuration—the division levels corresponding to modus maior, modus minor, tempus, and prolatio—is given by the context. The next example shows the incipit of a four-voice piece, Josquin’s Tu solus qui facis mirabilia, where only two of the voices (Cantus and Tenor) have a mensuration sign. The other two (Altus and Bassus) have no mensuration signs, and the mensura is given by the context. Therefore, while only the Cantus and the Tenor have attributes for encoding the mensuration sign (in this case, mensura (
The division of the breve in Italian trecento notation can be encoded using the
The signs for the Italian divisiones can be encoded in the
Proportions can also be indicated within the
Ligatures can be encoded using the recta or obliqua.
In cases where the ligature contains both recta and obliqua notes, the
The data organization based on
This feature may also be used to encode measured music without using the
Other features included in the MEI schema that allow for the encoding of various mensural notation properties are presented below:
The
At the moment, three values are in use for mensural notation:
The values of the
The attribute Ars antiqua or Ars nova style. Currently, the values allowed in the
Important: An element with a
The characteristics of a note’s stem can be encoded within the
[include example (image and code) of a note with one stem that includes many of these attributes]
Sometimes notes have two stems. In this case, the
[include example (image and code) of a note with two stems]
Plicas can be encoded using the
Dots of division and augmentation can be encoded by using the
Dots in mensural notation are not encoded as children of notes or rests, but rather as a sibling of these. They are also not encoded as attributes (the use of the
To indicate the nature of the dot (as a dot of division or augmentation), the
The actual effect of these dots (augmenting a note and making it perfect, or dividing a sequence of notes in different groupings by imperfecting some notes or altering others) is encoded with the
[explain that accidentals are usually encoded as independent elements and that accid.ges can be used within notes]
[explain where/how coloration can be encoded]
[explain that there is a custos element available]
This chapter describes the elements, model classes, and attribute classes that are part of the MEI.neumes module.
The MEI Neumes Module represents the community’s attempt to create a standardized set of rules that encapsulate in a logical, systematic, and unequivocal way the musical information represented and conveyed by Western European neumatic notations (beginning with the late ninth century and continuing to the printed books of the twentieth). Most neume notation is used to set music to an existing text. The syllable is the fundamental unit of structure, with the neumes themselves serving as a means of “sonifying” the text. A syllable may be expressed via one or more neumes, with the particular neume shape chosen depending on the pitch contour that is being employed and the desired interpretation.
The `syllable` element is used as the primary organizational element for neume notation within a `layer` element. Within `syllable`, the `syl` element defined in the `MEI.shared` module is used for encoding the textual content, while the `neume` and `nc` elements are used to encode the neumes themselves. Within these Neumes Module elements, other standard MEI mechanisms are available to accommodate, for example, editorial or critical markup.
The following four elements are the fundamental components of the Neumes Module:
Neume notation can be thought of as "neumed text". Therefore, the syllable element provides high-level organization in this repertoire.
(syllable) – Individual lyric syllable.
Sign representing a single pitched event, although the exact pitch may not be known. Examples of neume components are:
Neume encoding in MEI was initially developed as part of the Hildegard von Bingen project at the University of Tübingen. MEI was chosen as the basic representation format after a comparison of existing music encoding formats. The initial work on this module was performed by Gregor Schräder (Ein XML-Datenformat zur Repräsentation kritischer Musikedition unter besonderer Berücksichtigung von Neumennotation), supervised by Prof. Stefan Morent. Since 2012 a group of scholars has been working on the development of a new version of the MEI schema for neume notations (Ichiro Fujinaga, Jennifer Bain, Debra Lacoste, Kate Helsen, and Inga Behrendt). Afterwards, other chant scholars joined the group bringing further expertise on other kinds of early music notations (namely Elsa De Luca, Alessandra Ignesti, and Sarah A. Long).
There are four main challenges in encoding Western European early music. The first relates to the fact that early notation was just a mnemonic aid that helped the readers to recall the music they already knew by heart and, as such, it conveys only partial musical information (Bain, Behrendt, & Helsen 2014; Helsen, Behrendt, & Bain 2017). Indeed, it is only with the invention of staff lines in the eleventh century that the system of musical transmission gradually changed, relying more on the written record rather than on orality. The second challenge refers to the existence of different regional styles of early notation; early-music manuscripts display a great graphical variety of musical signs, which include both neumes and other notational elements conveying further musical information (e.g., significative letters, Old Hispanic ticks, etc.). Thirdly, some of those regional notational styles occasionally share graphically similar shapes; these similar shapes within the different notational styles are understood by modern scholars to represent the same, a similar, or even a different musical meaning. Finally, while on occasion the neume shapes appear to mirror graphically the musical characteristics of the sound being represented (e.g., pen-stroke going up = rising melody), in many instances it is generally understood that the meaning attached to the neumes (or the other notational elements) may not be so straight-forward, but instead was ruled by conventions shared by the people who knew orally the musical repertory being fixed in written form by means of notation.
What do these challenges entail for modern encoders?
Firstly, sometimes we have to deal with written signs whose meaning is obscure to us and, while we can infer the meaning of some of those signs from the study of later manuscripts with the same melodies and a more precise notation, in other cases we need to turn to music palaeographers who examine the recurrence of those written signs and the context where they were used. By analysing scribal hands in particular manuscripts, palaeographers can often work out if a written sign is a meaningless scribal variant or a graphical feature conveying musical meaning to the medieval reader. Secondly, since a neume shape could either mirror on the page the aural event or bear some other musical meaning attached by convention, the encoding sometimes relies on the visual level or on the semantic level, and this distinction has to be made on a case-by-case basis. Moreover, since the same written sign could have multiple interpretations according to the style of notation where it was employed, it is crucial to be aware of the conventions of each regional notational alphabet in order to capture the musical information conveyed by that sign in the contexts where it is found.
See two examples of shapes found in different regional styles that are not captured with the same encoding:
Example 1
St Gall notation Oriscus (one-note ornamental neume). The oriscus is the middle note of a three-note raising gesture (commonly called salicus in the literature).
Old Hispanic notation: Two-note downward melodic gesture.
Example 2
Old Hispanic notation: Four-note neutral-low-high-low melodic gesture.
Aquitanian notation: Three-note rising neume with oriscus on the second note.
A further complication is that while the music encoding aims to narrow down and capture the meaning of the neumes in a logical and coherent system, occasionally the significance of some neumes is under debate (e.g.,
Broadly speaking, Western early notations belong to two main categories. On one side we have notations where two or more notes were represented by a single pen-stroke, while on the other side there are notations where the notes are graphically separated by means of discrete dots or short pen-strokes. These distinctions have been described even within single notational styles as gapped or not gapped (Behrendt, Bain, & Helsen 2017). To date, the MEI Neumes Module has been tested mainly on square notations and stroke notations (St. Gall, Old Hispanic, etc.), but also on Aquitanian point-notation.
In addition to
Nota bene: the following neume has a similar shape but the neumatic connection is not extended.
Nota bene: in the last example we can read the exact pitch of the custos because the lozenged punctum (placed one step below the line) signals the lower note of the semitone E-F. This information, combined with the identification of the finalis of the piece, allows us to decipher the mode of this piece, that is the 4th.
Other articulation marks such as ictus, circulus, semicirculus, accentus, and other fonts in SMuFL can be encoded using: glyph.auth, glyph.name, glyph.num, and glyph.uri.
The following example illustrates the MEI encoding of the opening of Hildegarde’s “O Splendidissima Gemma” with the text “O splendidissima”. This example provides the basic MEI skeleton to have a valid MEI file and it may be used for reference for scholars willing to start encoding early music (and its text) in MEI. Information about the
Samples of MEI of St Gall notation are taken from the winter volume of the so-called ”Hartker Antiphonary” CH-SGs Cod. Sang. 390.
Samples of MEI of Old Hispanic notation are taken from the ”León Antiphoner” E-L MS 8.
Samples of MEI of Aquitanian notation are taken from sources on the Portuguese Early Music Database.
Bain, Jennifer, Inga Behrendt, and Kate Helsen. 2014. “Linienlose Neumen und ihre Repräsentation mit MEI Schema, Herausforderungen in der Arbeit im Optical Neume Recognition Project (ONRP).” Digitale Rekonstruktionen mittelalterlicher Bibliotheken. Edited by Sabine Philippi and Philipp Vanscheidt. Trierer Beiträge zu den historischen Kulturwissenschaften 12: 119–32.
Behrendt, Inga, Jennifer Bain, and Kate Helsen. 2017. “MEI Kodierung der frühesten Notation in linienlosen Neumen.” Kodikologie und Paläographie im Digitalen Zeitalter 4 / Codicology and Palaeography in the Digital Age. Vol. 4. Edited by Hannah Busch, Franz Fischer, and Patrick Sahle, with the cooperation of Philip Hegel and Celiz Krause, Norderstedt 2016. Köln: Institut für Dokumentologie und Editorik e.V, 2017, 281–96.
De Luca, Elsa, Jennifer Bain, Inga Behrendt, Ichiro Fujinaga, Kate Helsen, Alessandra Ignesti, Debra Lacoste, and Sarah Long. 2019. ”Cantus Ultimus’ MEI Neume Module and its Interoperability Across Chant Notations”. Music Encoding Conference, Vienna.
De Luca, Elsa, Jennifer Bain, Inga Behrendt, Ichiro Fujinaga, Kate Helsen, Alessandra Ignesti, Debra Lacoste, and Sarah Long. “Capturing Early Notations in MEI: The Case of Old Hispanic Neumes”. Musiktheorie-Zeitschrift für Musikwissenschaft 2, 2019: 229-49.
Helsen, Kate, Inga Behrendt, and Jennifer Bain. 2017. “A Morphology of Medieval Notations in the Optical Neume Recognition Project.” Arti musices: Croatian Musicological Review 48/2: 241–266.
MEI Guidelines v4, ch. 6: Neume Notation introducing
This chapter describes the attribute classes that are part of the MEI.tablature module.
The tablature module is used to record basic tablature notation. It is designed primarily for guitar and similar plucked-string instruments.
The
The
For standard guitar tuning, the
Chromatic alteration of the open string’s pitch may be indicated with the '-' or 'f' (flat), or the '#' or 's' (sharp). Multiple sharps and flats are not permitted.
A guitar in E-flat tuning might look like this:
Some instruments, like the 12-string guitar, have the four lowest strings tuned an octave above but are still written on a 6-line tablature staff. In this case, you may enumerate the open string pitches while maintaining 6 lines.
The
In the case of fretted instruments, the fret number may be captured using the
This chapter describes how to encode words and syllables in vocal notation. This text is typically written under a staff to indicate the text to be vocally performed. As such, this text should not be confused with other text on the score, for which see chapter
These guidelines suggest two methods for encoding text in vocal notation: encoding syllables as
Both methods eventually rely on the
By ‘lyric syllable’, these guidelines mean a word or portion of a word that is to be performed vocally. Each syllable is encoded with the
The attribute
When a syllable is at the beginning or in the middle of a word (in which case it will have the
Occasionally, a word or a final syllable needs to be extended across multiple notes. In this case an ‘extender’ is provided. An extender is a continuous line drawn at the text’s baseline from the end of the syllable associated with the first note until the last note to be sung with the syllable.
The use of
Each lyric syllable can be encoded directly within an associated note, either by using the
Using the
The following example from Handel’s Messiah (HWV 56) shows the use of
When there are multiple lines of vocally performed text, or the encoder wishes to be more specific about connectors, etc., the use of
The following example from Handel’s Messiah (HWV 56) shows the use of
As it is common practice in written text, it is assumed that a space separates words. Many vocal texts, however, introduce elisions and connect two syllables into one unit. For example, the vocal text from Mozart’s Don Giovanni sung by Don Giovanni in Finale II, Ho fermo il core in petto introduces an elision between the word fermo and il and between core and in. An elision can be indicated by placing both syllables within the same
When there is more than one line of text, more than one Rheingold has two lines of text, with an English translation on the second line. Note the use of the
Optionally, it is possible to include an
Finally, the
Vocally performed text may also be encoded separately from the notes with the
Since this element is separated from the encoding of the notes, it must be associated with a staff that will provide rhythm information when required for automated processing. The
This section is supposed to explain stage directions and speeches in MEI drama.
This chapter describes methods for encoding textual content with MEI. It is divided into section: One part deals with performed text in MEI.
Most of the elements described here take inspiration from encoding formats that deal primarily with text, such as HTML and the Text Encoding Initiative (TEI). These elements are provided to encode relatively basic textual information. For deeper encoding of text, these Guidelines recommend consideration of other text-specific encoding formats with embedded MEI markup.
This chapter focuses on the text that accompanies the score, i.e., paratext (prefatory material, back matter, appendices, etc.).
Text can be organized in different parts, for example in chapters or sections. The
For example, printed scores, before the actual notation, can have text that can be organized in multiple sections (e.g., a preface, a critical report, performance instructions, etc. for which see the following sections); each of these sections should be identified by a different
Textual divisions may have titles or other forms of introductory material, which are encoded with the
The following example shows the encoding of a preface translated into three different languages, each with a different heading:
Having said that
tags describing the nature of the
This section introduces paratextual material, such as title pages, prefaces, indexes and other text that precedes or follows the actual score.
By ‘front matter’ these Guidelines mean distinct sections of a text (usually, but not necessarily, a printed one), prefixed to it by way of introduction or identification as a part of its production. Features such as title pages or prefaces are clear examples; a less definite case might be the prologue attached to a dramatic work. The front matter of an encoded text should not be confused with the MEI header described in chapter
An encoder may choose simply to ignore the front matter in a text, if the original presentation of the work is of no interest. No specific tags are provided for the various kinds of subdivision which may appear within front matter: instead, generic
The following extended example demonstrates how various parts of the front matter of a text may be encoded. The front part begins with a title page, which is presented in section
The front matter concludes with another
Alternatively, the pointers in the table of contents might link to the page breaks at which a song begins, assuming that these have been included in the markup:
Conventions vary as to which elements are grouped as back matter and which as front. For example, some books place the table of contents at the front, and others at the back. For this reason, the content models of the
The following suggested values may be used for the
No additional elements are proposed for the encoding of back matter at present. Some characteristic examples follow; first, an index (for the case in which a printed index is of sufficient interest to merit transcription):
Note that if the page breaks in the original source have also been explicitly encoded, and given identifiers, the references to them in the above index can more usefully be recorded as links. For example, assuming that the encoding of page 77 of the original source starts like this:
then the last item above might be encoded more usefully in the following form:
This chapter describes methods for encoding textual content with MEI. Textual information on scores has several different uses, although some text is closer to music notation than other kinds. For example, tempo marks, directives and lyrics are directly related to the functionality of the notated music and are, therefore, described in other chapters (see for example
Most of the elements described here take inspiration from encoding formats that deal primarily with text, such as HTML and the Text Encoding Initiative (TEI). These elements are provided to encode relatively basic textual information. For deeper encoding of text, these Guidelines recommend consideration of other text-specific encoding formats with embedded MEI markup.
Paragraphs are fundamental to prose text and typically group one or more sentences that form a logical passage. Usually, it is typographically distinct; that is, it usually begins on a new line and the first letter of the content is often indented, enlarged, or both. This element has a similar meaning as the corresponding elements in Encoded Archival Description (EAD), Text Encoding Initiative (TEI), and HTML.
A paragraph is encoded with the
Prose text is used for several different purposes within a MEI document, therefore
Alternatively, paragraphs may be part of the document contents (and therefore encoded within
The following example shows a paragraph in a preface section:
Sometimes, it is desirable to capture the typographical qualities of a word or phrase without assigning it a special meaning. For this purpose, MEI offers the hi element. Using CSS-like values, its
The
The
The graphic element may occur multiple times within the markup of the figure in order to indicate the availability of different image formats or resolutions:
The element
The figure description (
Occasionally, a figure description may have a complex structure. In this case, one or more textual component elements (
The
Brief descriptions of all the above are given below. Where possible, current addresses or other contact information are shown for the originator of each format. Many formal standards, especially those promulgated by the ISO and many related national organizations (ANSI, DIN, BSI, and many more), are available from those national organizations. Addresses may be found in any standard organizational directory for the country in question.
When a text contains lists, they can be encoded with the following elements:
The
Occasionally, lists have headers or titles, which can be encoded with
The element
The
While rows and columns are always encoded in top-to-bottom, left-to-right order, formatting properties such as those provided by CSS may be used to specify that they should be displayed differently.
The
The
The
It is common, in many types of texts, to find quotations. A quotation is typically attributed to another text other than the one being encoded. Often, the quoted material is typographically distinct from the surrounding text; i.e., surrounded by so-called ‘quote marks’ or rendered as a separate block of text. The
The following examples show the use of
This
Because
The
The
The
The element
To be more specific about the date, the attributes in the
In the following example, the ambiguous date text "5/3/05" is resolved using the
The
This element is useful when it is necessary to provide specific information about numeric data, such as the unit of measurement or the kind of quantity described, or when it should be displayed in a special manner.
Addresses may be encoded using the
It is important to note that the
The following element is used in the encoding of bibliographic citations and references:
The
These elements fall into the following categories: - identification of the bibliographic entity and those responsible for its intellectual content - publication and distribution data for the bibliographic entity - description of the physical characteristics of the item - annotation of the bibliographic citation and additional details regarding the item’s intellectual content
The elements
The
To classify the
Publication and distribution data may be captured using
The physical characteristics of the cited item may be described using the
Annotation of the bibliographic citation and the provision of other pertinent details are addressed by several elements. Commentary on the bibliographic item or citation is accommodated by the
When supplied with a
Please consult
In some situations it is necessary to provide references from one bibliographic item to another. For these situations, MEI offers the
In this example, the nested
In these relations, the subject is always the relatedItem, and the object is always the parent of the relatedItem. Thus, a value of
It is important not to confuse
Annotations are one of the most versatile features of MEI. They are provided using the
This element may be contained by a wide range of other elements and may contain a large number of other elements. While this offers great flexibility in addressing the wide variety of textual features that might occur within an annotation, it may lead to markup that cannot be effectively processed mechanistically.
In all cases,
This chapter of the MEI Guidelines describes how the results of a musical analysis or harmonic information may be stored in MEI.
This chapter describes the use of attributes that capture data which may be useful for analytical purposes. The analysis module provides attributes that record relationships between entities found in the encoding. These attributes may be used differently by different users, depending on the purpose of the analysis.
These Guidelines recommend that encoders employ commonly accepted analytical practices, such as ‘functional analysis’ or ‘Schenkerian analysis’, and document their use in the
The relationships between event elements, such as note, chord, and rest, are the basic material of musical analysis; the attributes described below ensure a closed network of these relations and provide the opportunity to record data useful for common analytical tasks. In the context of a formal analysis, for instance, the attributes presented here can be useful in the capture information about the structure of a musical work.
MEI offers several attributes in the
The
These attributes accommodate the encoding of linkages between the element carrying the attribute and one or more other elements. All of them use URIs to establish the connection. While the examples below illustrate relationships between musical events, the use of the aforementioned attributes is not restricted to musical events. On the contrary, these attributes can be used to capture information about relations between any elements. Further information on this can be found in
Using the attributes above makes it possible to create relationships between events, which are often widely-spaced in both encoded order and time. The attributes allow a large number of connections, enhancing the informational content, and therefore the potential usefulness, of the encoding.
The
In this example, the
Using Erlkönig illustrates the benefit of using the
This example can be reduced further by using
While
While
The
The
This attribute may also be useful to clarify a sequence of entities which occurs across some form of interruption, in this case, notes before and after a system or page break where there is no custos or direct in the source:
A one-to-many relationship between the current element and the entities being referred to can be expressed by using a list of space-separated URIs in
The
The
In addition to the common analytical attributes, the analysis module also offers other, more specific attributes on certain musical elements:
The
Alternatively, diatonic interval quality and size may be indicated by a letter signifying the interval quality (A= augmented, d= diminished, M = major, m = minor, P = perfect) followed by a number indicating the size of the interval. The interval direction may be encoded using a leading plus (+) or minus (-) sign:
As a third option, signed integers may be used to record the difference in half steps between the previous pitch and the current one. Decimal values accommodate the description of microtonal intervals:
The
In contrast with
Use of the
The
Scale-degree values are relative to the prevailing major or minor key. In the case of minor keys, scale degrees are characterized with respect to the harmonic minor scale. For example, the pitch F in the key of A minor is the submediant (6), but F is the lowered submediant (6-) in the key of A major.
Melodic approach can be indicated by a leading caret (^) or lowercase v, representing ascending and descending approaches, respectively.
Chromatic alteration of the scale degree can be represented using a trailing plus (+) or minus (-) signs, signifying raised or lowered scale degree, respectively. The actual amount of chromatic alteration is not indicated.
The
A pitch class may contain a large number of pitches, because different octaves and enharmonic spellings of pitch make no difference. The notes C, E, and G would be 0, 4 and 7 in pitch class notation, for example, regardless of the octave in which they are performed. The example below contains the same pitch in four different enharmonic spellings, but all are part of the same pitch class.
For further information on pitch class set theory, please consult the following sources:
Solmization is a system which associates a syllable with each note of a musical scale. There are various forms of solmization used throughout the world. In Europe and North America, solfège is the most common practice. In this system, the seven syllables for a major scale are do, re, mi, fa, so, la and ti. In the ‘fixed-do’ system, the syllable "do" is always associated with the pitch "c", while in the ‘movable-do’ system, "do" is associated with the tonic note. The
It is often helpful to record whether a given staff, layer, or measure obeys the meter established for it. The following attributes are provided for this purpose:
When used on
In the first example below, the layer, staff, and measure all match the prevailing meter. In the second example, however, the first layer does not comply with the meter, making the staff containing it and measure as a whole non-compliant. When there is a single layer or when all the layers on a staff agree with each other, metrical compliance can be indicated on the
This chapter describes the encoding of indications of harmony occurring within a music text, e.g., chord names, tablature grids, figured bass, or signs for harmonic analysis, and the methods by which these indications can be connected with their interpretations. For encoder-supplied analysis of intervallic content, please see chapter
On the most basic level, chords in the musical text can be encoded using the
Additional information on the use of the
With only this kind of markup, harmonic information is implicit in the notes themselves. The elements and attributes of this module, however, provide for the encoding of explicit indications of harmony, such as chord symbols, tablature grids, figured bass signs, and the symbols of harmonic analysis like Roman numerals and their interpretation.
An harmonic label, such as "7", may occur many times throughout an MEI instance. Where the goal is diplomatic transcription, simply recording the uninterpreted label is sufficient. Recording the precise meaning of such a label requires storing an interpretation. But, including the interpretation at every point of occurrence of the label would swell the size of the file and complicate the markup for those users who are not interested in the interpretation. Therefore, MEI separates the encoding of harmonic labels from the encoding of the interpretation of those labels.
The following elements enable the creation and re-use of interpreted chord data:
The a priori or as the result of analysis of the pitch content of the music at hand, for instance, by examination of the notes occurring on the downbeat of each measure. In this way, the chord definitions serve as a record of the analysis.
Even though it is not required by the schema, an
Individual pitches of a chord are encoded using
These simple resources allow for the detailed specification and interpretation of harmonic indications found in the musical text. For example, the harmonic label A can be equated with a fully spelled-out indication of functional harmony that can be substituted for the harmonic label, say, in an aural rendition:
Alternatively, the non-bass chord tones may be indicated, not with pitch names, but with their intervallic distance above the bass note. Therefore, the example above may also be encoded:
The preceding encoding possibilities provide the detailed information necessary to create playable chord annotations. For more generic uses, however, the encoding can be taken one step further; that is, it can be reduced to its minimum intervallic content by eliminating octave duplications and expressing all chord members, including the bass note, using intervals above the bass. Of course, the
The
The
With regard to indications of harmony, MEI attempts to strike a balance between very precise (interpreted) and very loose (uninterpreted) markup needs. Therefore, various kinds of harmonic labels are accommodated by the labels. Therefore, MEI provides only a single element for the capture of harmonic indications of all kinds:
The
or labels that are chord tablature grids:
or labels that mix these styles:
The
The
Precise placement of the harmonic label can be controlled through the use of attributes in the
Figured bass is a specialized form of harmonic indication. In order to support the capture of the semantics of figured bass, and not just its visual representation, MEI provides the following elements:
Figured bass, consisting as it does of text, can always be represented purely visually. This is probably how an OMR program or other naive encoder might deal with the markup of figured bass:
However, this kind of approach fails to recognize that a figured bass is being used and not some other system of harmonic indications. To capture this knowledge, the preceding example can also be marked more explicitly with:
In order to provide greater control over the individual components of the figured bass, each component can be treated as a figure. The natural symbol is encoded using the Unicode MUSIC NATURAL SIGN character.
Encoding order of the component
You may use 6\ and 6/ for numerals that should be shown with a backslash and slash, respectively. An alternative would be to use the "bslash" (backward slash) and "fslash" (forward slash) on the
Each component of the figured bass sign may use the
Because the repertoire of signs is so large, figures which consist entirely of a mark indicating repetition of the preceding figure, should be represented by the character appearing in the document. For example, in some notational styles, the repetition sign is a dash (-), while in others it is a solidus (/). Using characters like this is also consistent with other existing figured bass encoding schemes.
Often, the distinction between extending lines and repetition signs is unclear. Treating what at first appear to be extenders as repetition signs, however, can sometimes help to simplify the required markup and to make the intent of the signs explicit. For example, in the following example the dashes on beat 4 and 4.5 are treated as repetition signs:
Using
The primary goal of
This chapter introduces markup targeting at digital scholarly editions of music. In
This chapter describes how to encode differences between multiple exemplars of the same musical work (often referred to in MEI as ‘sources’). The mechanisms and elements described in this chapter are closely related to their counterparts in the TEI guidelines. It is also important to refer to chapter
The following elements are defined in the critApp Module:
An
The
The
If interested in modeling such dependencies between witnesses, using markup from
If a source has additional content that is not found in other sources, an empty
When working with a large number of sources, it might seem tedious to provide references for all sources. However, use of the
The
or to indicate more significant differences, such as the insertion of extra measures:
However, the flexibility in the location of
In addition to its use for differentiation of the musical content of multiple sources,
This rather loose mechanism makes it possible to point dynamically to the correct staff definition for a given source. The following example demonstrates how this can be accomplished for two sources, both presenting a two-staff score, but with differing staff order. No further
When unique values for
This mechanism may also be used to describe not only differing page orientations, formats and margins, but also clefs and keys.
The use of
In some situations, musical sources will agree at one level while differing at a lower level. For these cases,
When nesting
It is often necessary to render an account of any changes made to a musical text during its creation (and any subsequent editing) and to accommodate editorial comment necessitated by an editorial process. The elements and attributes described in this chapter may be used to record such editorial interventions, whether made by the composer, the copyists of the manuscript, the editor of an earlier edition used as a copy text, or the current encoder/editor.
The scope of the elements described herein is therefore the description of features relating to the genesis, later revision and editorial interpretation of a text. Mechanisms for describing multiple sources are described in chapter
The elements described in this chapter may be contained by a wide range of other MEI elements and, in turn, may contain a variety of elements. The encoder must assume responsibility for the appropriateness of the markup; that is, a great many combinations of editorial and transcriptional markup are technically possible, but care must be taken to see that the encoding does not contravene the rationale of these Guidelines. In general, it should be ensured that a file would be valid if the editorial markup would be omitted, as such a validation cannot be ensured in an efficient way by the MEI schema.
For most of the elements discussed here, some encoders may wish to indicate both a responsibility; that is, a coded value indicating the person or agency responsible for making the editorial intervention in question, and an indication of the degree of certainty which the encoder wishes to associate with the intervention. The elements discussed here thus may potentially carry the following optional attributes:
They are available through the generic attribute class
Many of the elements discussed here can be used in two ways. Their primary purpose is to indicate that their content represents an editorial intervention (or, in some cases, the lack of intervention) of a specific kind. Sometimes, pairs or other meaningful groupings of such elements can be recorded, then wrapped within the special purpose
Wrapping elements this way enables the encoder to represent, for example, a text in its ‘original’, uncorrected form alongside the same text in one or more ‘edited’ forms. Making use of this style of representation, software may dynamically switch between the ‘Urtext view’ of the text and one or more ‘views’ of the text after the application of the encoded editorial interventions.
Elements which can be combined in this way constitute the
Three categories of editorial intervention are discussed by the remainder of this chapter:
MEI offers methods for marking abbreviations in prose, as in the following example:
or abbreviations in the music itself, as in the following example:
The generic
This tag is the mirror image of the
The
When the content of the
Many musical scores make use of various kinds of shorthand notation which omit some parts of the score that have already been written elsewhere. Typical examples for this are symbols that indicate repetition of the preceding measure or beat. In MEI, these symbols can be encoded using the
colla parte directives have a less strictly-defined scope than the ‘Rpt elements’ (colla parte instructions can refer to material of any length. In order to encode such scribal shorthand, MEI offers the
Like any other ‘controlEvent’ (see
In the example above, there are no less than three different copy instructions, which need to be encoded with four empty measures, which indicates that the content from the filled measures should be copied here. While one could try to encode this with just one
The second and third shorthand indications are written in the second violin (lower staff). Here, Weber writes "unis.[ono]", silently omitting the reference to the first violin. His next shorthand ("in 8va") additionally instructs the copyist to double the written material in another octave. This information can be captured using the
Text used as a copy mark, like the letters in the Weber example, may be encoded as content of the
Depending on the purpose of the encoding, the omitted parts in the score may be filled with
When the source material to be encoded is manifestly faulty, an encoder or transcriber may elect simply to correct it without comment, although for scholarly purposes it will often be more generally useful to record both the correction and the original state of the text. The elements described here enable all three approaches, and allows the last to be done in a way that makes it easy for software to present either the original or the correction.
The following examples show alternative treatment of the same material. The text to be encoded contains a chord (c4, e4, g4, a4), where c4, e4, and a4 are quarter notes, but g4 is incorrectly written as a half note.
An encoder may choose to silently correct the engraver’s error:
or the correction may be made explicit:
Alternatively, the encoder may simply record the typographic error without correcting it, either without comment or with a
If the encoder elects to record the original source text and provide a correction for the sake of transparency, both
An indication of the person or agency responsible for the emendation can be provided as follows:
Here the
Where, as here, the correction takes the form of amending information present in the text being encoded, the encoder should use the
When the musical source makes extensive use of unusual symbol shapes or non-standard notation features, it may be desirable for a number of reasons to regularize it; that is, provide ‘standard’ or ‘regularized’ forms that are equivalent to the non-standard forms.
As with other such changes to the source text, the changes may be made silently (in which case the MEI header should still specify the types of silent changes made) or may be explicitly marked using the following elements:
Consider this traditional soprano clef appearing somewhere in the course of a musical piece:
An encoder may choose to preserve this original clef, but flag it as nonstandard from the perspective of current practice by using the
Alternatively, the encoder may indicate that the clef has been modernized into a G-clef by using the
As another alternative, the encoder may encode both the old and modernized shapes, so that applications may render both at the reader’s will:
As described above, the
The following elements are used to indicate when single notational symbols have been omitted from, added to, or marked for deletion from, a musical text. Like the other editorial elements described in this chapter, they allow for a wide range of editorial practices:
Encoders may choose to omit parts of the source for reasons ranging from illegibility, (making transcription difficult or impossible), to editorial policy, e.g., systematic exclusion of poetry or prose from an encoding. The full details of the policy decisions concerned should be documented in the MEI header (see section
Note that the extent of the gap may be marked precisely using attributes
Unlike TEI, MEI does not offer a desc element for further description of the reason for a gap. Instead, an
The
Where the difficulty in transcription arises from an identifiable cause, the
When the reason for a gap in the encoding is damage of the document carrier (the paper on which the document is written, for example), the
Sometimes the editor provides information not present in the source material. These conjectures or emendations are marked up in MEI using the
The following example demonstrates the use of the
When the presumed loss of text arises from an identifiable cause,
Material added by the editors is often highlighted in the sheet music, either by brackets or small print. In addition to the semantic markup by elements like
The
The following example demonstrates the usage of
The next example shows how
Additional information for both elements may be specified using attributes. Whereas the
The
When several interventions to the musical text are to be regarded as a single action, they may be grouped using the
An intervention closely related to substitution is the restoration of a previously deleted section. For this purpose MEI offers the
The following example illustrates an instance where a lyric was cancelled and later restored by overwriting it:
The
MEI offers a
The
The new hand may be identified using the
When using this element within a layer, it is important to ensure that all layers and staves are considered. Every
Genetic editions try to trace the creation of a (musical) work in all its recorded details, from the first sketches to the ‘final’ complete text. The aim of genetic textual criticism is to investigate compositional working and thinking processes - the genesis of compositions. In contrast to traditional scholarly editions, which focus on the constitution of a performable text of a work, Genetic Textual Criticism focuses on the process of production, the gradual elaboration of musical thoughts while writing. It is dependent on the availability of comprehensible traces of these writing processes. Genetic editions often have to deal with significant uncertainties, and they require a considerable amount of markup, as detailed below.
Leaving aside temporary breaks, a compositional process is continuous: the composer’s writing operations have happened in a strict order, which could be specified if his working would have been filmed. However, this exact order is rarely ever recoverable from the surviving manuscripts, prints or other materials. Instead, relative statements can be made – the red pencil must have been written after the brown ink etc. Instead of a continuous movie, scholars are often only able to reconstruct a slide show, reflecting certain recoverable states of the composition. Very often, those states have a local range only – the order of two states on one page may be known, as is the order of two other states on a second page. This doesn't necessarily allow to identify the succession of all four states.
MEI utilizes the
A genetic description is used to bundle all known states of a work. The
In the above example, the temporal relation of states A, B and all of C is not known, but it is known that C1 precedes C2 and C3.
Even when the temporal order of a set of states is not fully recoverable, some arguments about relative chronology may be available. It is possible to encode these statements with the precision the editor feels comfortable with, utilizing the attributes
Genetic states can be further described by using any combination of the
While the (relative) chronology of genetic states may be encoded using the
In the example above, state X of the encoded work is established by the change from a C clef to a G clef. Other states preceding state X will read a C clef, while state X and succeeding states read a G clef. A genetic state of the work is constituted by performing all textual operations referencing that state, i.e., by carrying out all additions, deletions and restorations.
The
It is up to encoder to identify the appropriate level of granularity: In an ideal world, the writing or cancellation of a single note would constitute a new state. In practice, this level of detail isn't feasible, and the combination of multiple writing operations into larger logical operations seems inevitable. However, this may range from very large tasks (‘replacing the second movement of a symphony’) to very small ones (‘adding the slurs for the viola in measures 22 and 23’), depending on the intentions and scope of the encoding.
The arguments used to establish a chronological order of genetic states are sometimes found in external sources like letters, but very often they are to be found in the witnesses holding the musical text, even though they are typically not part of the text itself. Examples for such arguments are the writing medium, spacing, marginal notes, among others.
Some of these so-called ‘metatexts’ can be encoded using MEI, namely those that are written into the relevant sources. For this purpose, MEI offers the
A metaMark is provided as a ‘controlEvent’ (see
Some metaMarks may have actual content, like marginal notes. This content may be transcribed inside the
It is important to keep in mind that
The above excerpt from a Beethoven manuscript holds a number of different metaMarks, some of which are encoded in the following examples:
The metaMark above captures the word ‘gut’ (good) Beethoven wrote below the red pencil, which indicates that the formerly deleted text of the two measures shown shall be kept.
This
This third metaMark covers one of the letters Beethoven inserted to clarify the pitch of that given note.
In genetic editions, it may also be of interest to trace when pages are added and / or removed from manuscripts. The general information about pages can be encoded using the
MEI can be used to connect an encoding of some sort – either a transcription of existing material, or the specification of some expected output in some form – with existing sources. This existing material may be in different formats – music notation in any combination of print and manuscript, or audio or video footage. The concepts for establishing such connections between encoded music and source material is described in the following chapters.
Most often, MEI is used for the preparation of a digital musical text based on an existing music document, or with the intention of rendering the encoded notation into a document or audio rendition. MEI can, however, be used to provide a different kind of digital reproduction of a source document, which relies on the description and provision of digital imagery. Both approaches may be combined, so that the encoding of the musical content and digital facsimiles may add different facets to the same MEI document.
This module makes available the following elements for encoding facsimiles:
These element are used to add a separate subtree to MEI, starting with the
It is possible to have more than one
When using the FRBR model (see
Within a
Within
The preceding markup will provide the basis for most page-turning applications. Often, however, it is desirable to focus attention on particular areas of the graphical representation of the surface. The
The coordinates of each zone define a space relative to the coordinate space of its parent surface. Note that this is not necessarily the same coordinate space defined by the width and height attributes of the graphic that represents the surface. The zone coordinates in the preceding example do not represent regions within the graphic, but rather regions of the writing surface.
Because the coordinate space of a zone is defined relative to that of a surface, it is possible to provide multiple graphic elements and multiple zone elements within a single surface. In the following example, two different images representing the entire surface are provided alongside specification of two zones of interest within the surface:
A
Conversely, an element in the content may refer to the
The
The encoding of
This chapter describes the ‘performance’ module, which can be used for organizing audio and video files of performances of a musical work. The elements provided allow the encoder to group different recordings of the same performance, identify temporal segments within the recordings, and encode simple alignments with a music text.
The following elements are available to encode information about a recorded performance:
The
The
The
The
Sometimes, multiple digital files are created in order to provide greater flexibility in redistribution and playback capabilities. In this case, multiple avFile elements may occur, each with a different mimetype. Keep in mind, however, that each file still represents the complete temporal extent of the recording act in spite of the change of file format:
The
Beyond these relatively simple uses, complex situations may occur that require equally complex markup. For example, a single performance may be represented by multiple digital media files. Because they have differing durations, the media files must be the result of separate recording acts, even if these recording acts took place at the same time:
A single performance may also be represented by multiple, sequential digital files, as when a complete work is recorded in several so-called ‘takes’. In this case, the files may be considered to be parts of a single recording act, the extent of which is the combined extent of the individual clips. For example, a series of
Similar markup is also applicable when a single file representing the entirety of a recording act is broken into segments later, as is often done for practical storage and distribution reasons. The file from which the clips are derived is indicated using an avFile element:
A
The preceding example also demonstrates that media files are not required in order to define the temporal space of a recording act or clip. This makes it possible to set the boundaries of these features, then use the content of the performance element as a rudimentary "edit decision list" to create the matching digital files.
If an encoding of the notated text with which the media files are associated is included in the MEI file, the
Clips can also be aligned with components of the musical text encoded in the
Please note that the begin and end times of clips may overlap. In the preceding example, the extent of the codetta is contained within that of the exposition. Overlapping beginning and ending points may also be used to provide additional performance context for a segment or because there is uncertainty with regard to precise values for these points.
A bibliographic description of a recording or metadata explaining how clip boundaries were determined may be associated with the recording and clip elements via the
Associations between a feature of the encoding, such as a note, dynamic mark, or annotation, and a time point, may be created using
The
Time points may be identified in absolute terms as above; that is, in hours, minutes, and seconds since the beginning of the recording, or in relative terms using the
Having identified a point of interest, another feature of the encoding may be associated with this point using its
One use of the association created between the annotation and the time point is to display the text of the annotation as the recording or clip is played.
The
indicates that the entities identified in
The following example shows JSON formatted performance data encoded with
This chapter describes the use of elements in MEI for linking and referencing. This includes the elements, models, and attributes that are part of the 'MEI.ptrref' module. This module contains declarations, techniques and approaches to establish references within a single MEI document, or to link out from one MEI document to another or to other external sources. This chapter also addresses possibilities to link into an MEI document from external sources which makes MEI highly interoperable and serviceable in the context of Linked (Open) Data approaches.
An element is a ‘link’ when it has an attribute whose value is a reference to the ID of one or more other elements (cross-reference). These link elements indicate an association between themselves (or one of their ancestors) and one or more other entities, either inside the same document or elsewhere. An association between two elements in the same document is said to be an ‘internal’ link, while an association that involves an entity outside the current document is called an ‘external’ link. However, either of the elements discussed in the following section can be used for either purpose.
This section describes techniques and approaches to establish references within a single MEI document, or to link out from one MEI document to another or to other external sources.
The link elements discussed in this section are the
The
The
The
In addition to the attributes in the
The
Additionally, the following attributes are also available on
Via the
Via the
Via the
The
A
The
The function of the
As shown above, the target="my.png"). However, when the intention is to display a digital image as part of the rendering of an MEI file, the
The
The
The
The following values are allowed for the
The value
The
The value
The following example illustrates a pointer that results in the automatic creation of a new window with the content of the target loaded in it:
The
In the preceding examples, the value of the
The linkAlign module has been deprecated in MEI v3.
In this chapter, the combination of MEI with other relevant formats in the field is covered. Here, the MEI Guidelines try to serve as Best Practice Recommendations; they don't claim to provide full and / or authoritative documentation for those other formats. The intention is to provide good starting points and share experience across various projects, trying to unify both tools and workflows for better efficiency. Accordingly, if the information found here provides as outdated or incomplete, please get in touch.
The TEI’s Special Interest Group on Music has come up with an ODD customization
for TEI, which allows to embed MEI excerpts into TEI. However, the SIG Music is
officially considered dormant, so the information provided
is somewhat outdated. The most recent resources are available from GitHub.
As of yet, no official MEI customization to include elements from the TEI namespace into MEI has been written, even though this is definitely wanted.
This chapter will explain how to use MEI in an IIIF-compatible way.
This section describes how to use MEI with the Standard Music Font Layout (SMuFL, https://www.smufl.org/) specification.
In order to use Scalable Vector Graphics (SVG) in MEI, a new module needs to be
compiled into ODD (see
With this addition, which can be added to any of the provided customizations of
MEI (see
In the following example, an <svg:path> element is inserted into a
Of course it’s possible to allow elements in SVG namespace in other places in MEI as well, by adjusting the model classes that the SVG namespace shall join.
This chapter describes the MIDI encoding functionality present in MEI. The purpose of this module is to allow for integrating MIDI data into MEI-encoded notation, to both aid software in translating MEI to MIDI, and to permit the capture of information in files that have been translated from MIDI to MEI. The MIDI model in MEI is similar to that of Mup, and the user is directed to the Mup User Guide for further reading.
The MIDI module defines certain generally-accepted MIDI units that may be used
outside of a MIDI context. For example, the ppq (Pulses Per Quarter) as a valid measurement of
duration. Similarly, the
To define the MIDI resolution of a score, the
The
The
The
MIDI messages are encapsulated in the
MIDI control changes (
In the preceding example, each control change is associated with a time stamp.
The
For better legibility and error checking, the
In mensural, neume, and other historical or non-Western repertoires, there is often no measure-based time stamp with which to associate MIDI controller data. Therefore, in these notations MIDI controller data is assumed to be associated with the event that immediately follows in the same layer. Thus, a crescendo in mensural notation may be encoded like so:
Double-G clefs sound one octave lower, so do not combine with
Color names are taken from the list at https://www.w3.org/TR/css-color-4/.
All of these keywords are case-insensitive.
Interval direction only:
Interval direction, quality, and size:
optional quality indicator:
Interval in half steps:
Instrument names are based on the official list in the General MIDI Specifications.
MEI uses 0-based program numbers.
Percussion sounds are available when the MIDI channel is set to "10".
An alternating pattern with "alt1" and "alt2" starts from the first page. However, if header or footer with a func="first" is also defined, it will shift the pattern by one page. A header or footer with func="last" will interupt the pattern.
The
The modern arpeggiation symbol is a vertical wavy line preceding the chord. When the notes
of the chord are to be performed from highest to lowest, an arrowhead may be added to the
lower end of the line. Even though it is redundant, an arrowhead is sometimes added to the
upper end of the line for the sake of consistency or when the direction of successive
arpeggios alternates. In music for keyboard instruments, sometimes a distinction is made
between a single arpeggio in which both hands play successively and simultaneous arpeggios
in two hands. In the case of the former, multiple values may be required in the
As a specialized directive,
For beams that cross the bar line, use the
The starting point of the beam may be indicated by either a
Text that interrupts the bracket used to mark the event group may be captured as the
content of
This element may also indicate a short pause or break for instruments *not* requiring
breath. In such cases, it functions as a guide to phrasing. The starting point of the breath
mark may be indicated by either a
Since the breath mark does not disrupt the normal tempo of a performance, it has no directly encode-able duration.
The default value for
The
Commonly also called a 'slide'. The term 'glissando' is frequently used to indicate both
the case where distinct intermediate pitches are produced (as on the piano) and the case
where they are not (as on the trombone), though the latter is sometimes referred to as
'portamento'. The visual appearance of the indicating line may be recorded in the
The
The starting point of the harp pedal diagram may be indicated by either a
The lv element captures the graphical, "tie-like" symbol. Any associated text, such as
"l.v.", must be captured using a
In MEI, the
Automatically-generated numbering of consecutive measures of rest may be controlled via the
The automated numbering of consecutive measures of rest may be controlled via the
The automated numbering of consecutive measures of space may be controlled via the
In modern publishing practice, repeats of more than two measures should be written out
using repeat signs. This element, however, is provided for handling non-standard practices
often found in manuscript. The
The
The alternative material in an ossia often provides a simpler, easier-to-perform option, while at other times the alternate material provides indications of performance practice, such as ornamentation. Often an ossia is rendered above the main staff on a reduced-size staff. Sometimes the alternate material occurs on the same staff as the primary text, but in a separate layer. In this case, the alternative material is often rendered in small-sized notation.
The starting point of the pedal mark may be indicated by either a
It may also be called a "rehearsal figure", or when numbers are used instead of letters, a
"rehearsal number". See Read, p. 443.
When only
Historically, the term "slur" indicated two notes performed legato, while the term "phrase"
was used for a "unified melodic idea". Nowadays, however, "slur" often has the same meaning
as "phrase" (See Read, p. 265-266), since the visual rendition of the two concepts is the
same. MEI provides two distinct elements so that those users wishing to maintain a
distinction for historical reasons may do so. If the user does not want to maintain the
distinction, then the more generic
Most often, a tie is rendered as a curved line connecting the two notes. See Read, p. 110-111, 122.
The
The starting point of the tuplet may be indicated by either a
The starting point of the mordent may be indicated by either a
The interval between the main and auxiliary notes is usually understood to be diatonic
unless altered by an accidental. The starting note of the trill; i.e., the written one or
the ornamenting one, and the speed of alternation depends on performance practice. The
starting point of the trill may be indicated by either a
See Read, p. 246-247. Whether the turn is accented or unaccented may be inferred from the timestamp — accented turns occur directly on the affected beat, unaccented ones do not.
The model of this element is based on the teiCorpus element of the Text Encoding Initiative (TEI). The MEI instances making up the corpus may be related in a number of ways, for example, by composer, by similar instrumentation, by holding institution, etc. This element’s name should not be changed in order to assure an absolute minimum level of MEI compliance.
The alternatives provided in
The model of this element is based on the app element of the Text Encoding Initiative (TEI).
The
In no case should
The model of this element is based on the lem element of the Text Encoding Initiative (TEI).
Since a reading can be a multi-measure section, the
In no case should
The model of this element is based on the rdg element of the Text Encoding Initiative (TEI).
In a musical context
The model of this element is based on the sp element of the Text Encoding Initiative (TEI).
In a musical context
The model of this element is based on the stage element of the Text Encoding Initiative (TEI).
In no case should
The model of this element is based on the abbr element of the Text Encoding Initiative (TEI) and the abbr element of the Encoded Archival Description (EAD).
The
In no case should
The model of this element is based on the add element of the Text Encoding Initiative (TEI).
Because the children of a
The model of this element is based on the choice element of the Text Encoding Initiative (TEI).
The
In no case should
The model of this element is based on the corr element of the Text Encoding Initiative (TEI).
Typical examples are
Textual instructions are encoded as text content of the cpMark, while graphical
instructions may use the
In no case should
The model of this element is based on the damage element of the Text Encoding Initiative (TEI).
The
In no case should
The model of this element is based on the del element of the Text Encoding Initiative (TEI).
In no case should
The model of this element is based on the expan element of the Text Encoding Initiative (TEI) and the expan element of the Encoded Archival Description (EAD).
When material is omitted because it is illegible or inaudible,
The model of this element is based on the gap element of the Text Encoding Initiative (TEI).
The
The model of this element is based on the handShift element of the Text Encoding Initiative (TEI).
This element is used to encode explicit metatexts as defined by the Beethovens Werkstatt project.
This element will often be combined with a regularized form within a choice element. The
editor(s) responsible for asserting that the material is original may be recorded in the
In no case should
The model of this element is based on the orig element of the Text Encoding Initiative (TEI).
It is possible to identify the individual responsible for the regularization, and, using
the
In no case should
The model of this element is based on the reg element of the Text Encoding Initiative (TEI).
In no case should
The model of this element is based on the restore element of the Text Encoding Initiative (TEI).
A correction for the apparent error may be given in an accompanying child or sibling
In no case should
The model of this element is based on the sic element of the Text Encoding Initiative (TEI).
The model of this element is based on the subst element of the Text Encoding Initiative (TEI).
When the presumed loss of text arises from an identifiable cause, agent signifies the
causative agent. When the presumed loss of text arises from action (partial deletion, etc.)
assignable to an identifiable hand, the
In no case should
The model of this element is based on the supplied element of the Text Encoding Initiative (TEI).
Where the difficulty in transcription arises from an identifiable cause, the
In no case should
The model of this element is based on the unclear element of the Text Encoding Initiative (TEI).
The
The
The model of this element is based on the facsimile element of the Text Encoding Initiative (TEI).
Scalable Vector Graphics (SVG) markup may be used when allowed by the graphicLike model.
The
The model of this element is based on the surface element of the Text Encoding Initiative (TEI).
Scalable Vector Graphics (SVG) markup may be used when allowed by the graphicLike model.
The model of this element is based on the zone element of the Text Encoding Initiative (TEI).
The model of this element is based on the figure element of the Text Encoding Initiative (TEI).
Best practice suggests the use of controlled vocabulary for figure descriptions. Don't confuse this entity with a figure caption. A caption is text primarily intended for display with an illustration. It may or may not function as a description of the illustration.
The model of this element is based on the figDesc element of the Text Encoding Initiative (TEI).
The model of this element is based on the graphic element of the Text Encoding Initiative (TEI).
The model of this element is based on the table element of the Encoded Archival Description (EAD), the table element of the Text Encoding Initiative (TEI), and the table element of HTML.
The
The model of this element is based on the td element of HTML.
The
The model of this element is based on the th element of HTML.
More precise rendition of the table and its cells can be specified in a style sheet.
The model of this element is based on the tr element of HTML.
The
This attribute is inspired by the FRBRoo concept of manifestation singleton.
Manifestation singleton encompasses: manuscripts, preperatory sketches, and final clean drafts.
The development of a work can be traced in one or more sources.
When the
The
Any scribal modifications encoded with elements, such as
When nested inside a
The
On a wind instrument, the "highest note possible" depends on the player’s abilities. On
a string instrument, the "lowest note possible" depends on how much a string is
de-tuned; that is, loosened using the tuning peg. Use of the
A value of 0, 360, or -360 is directly in front of the listener, while a value of 180 or -180 is directly behind.
A value of 0, 360, or -360 is directly above the listener, while a value of 180 or -180 is directly below.
An
The
A chordTable may be shared between MEI instances through the use of an external parsed entity containing the look-up table to be shared.
The technical term “ad libitum” has several meanings depending on the context in which it occurs:
Meanings of ad libitum
Currently only the use within a performance resource (case 1) is supported.
The
Code Descriptions
May indicate the nature of restrictions or the lack of restrictions. Do not confuse this
element with use of material, such as those
afforded by copyright.
The model of this element is based on the accessrestrict element of the Encoded Archival Description (EAD).
The model of this element is based on the acquisition element of the Text Encoding Initiative (TEI).
One or the other of
The model of this element is based on the appInfo element of the Text Encoding Initiative (TEI).
The model of this element is based on the application element of the Text Encoding Initiative (TEI).
When used within the
The model of this element is based on the availability element of the Text Encoding Initiative (TEI).
Additions, deletions, and significant recoding should be noted, but not correction of minor
typographical errors. It is recommended that revisions should be entered in reverse
chronological order, with the most recent
The model of this element is based on the respective element of the Encoded Archival Description (EAD).
Although the use of names and terms from locally controlled vocabularies is possible, best practice suggests that terms should come from standard national or international vocabularies whenever they are available in order to enable searches in systems that include multiple MEI documents, or MEI documents and bibliographic records from many institutions.
Although the use of names and terms from locally controlled vocabularies is possible, best practice suggests that terms should come from standard national or international vocabularies whenever they are available in order to enable searches in systems that include multiple MEI documents, or MEI documents and bibliographic records from many institutions.
The child elements of this element are treated as components of the bibliographic entity
containing the
The model of this element is based on the respective element of the Encoded Archival Description (EAD).
A suitable tone ; Left hand coloring ; Rhythm and accent ; Tempo ; Flexibility ; Ornaments
Use this element to provide an enumeration of the contents of a bibliographic entity, like
that often found in a table of contents. When a detailed bibliographic description of
included material is desired, use the
The model of this element is based on the correction element of the Text Encoding Initiative (TEI).
The dimensions (@width, @height) of the parent element (e.g.,
The dimensions (@width, @height) on
This element uses a variant of the content model provided by macro.struc-unstrucContent.
The model of this element is based on the editionStmt element of the Text Encoding Initiative (TEI) and the editionstmt Encoded Archival Description (EAD).
The model of this element is based on the editorialDecl element of the Text Encoding Initiative (TEI).
The model of this element is based on the encodingDesc element of the Text Encoding Initiative (TEI).
The model of this element is based on the MARC 585 field.
Extent in this context represents file size.
The model of this element is based on the fileDesc element of the Text Encoding Initiative (TEI) and the filedesc element of the Encoded Archival Description (EAD).
The purpose of
When the exact folium setup can't be identified, it is advised to use
The
The model of this element is based on the handNote element of the Text Encoding Initiative (TEI).
The model of this element is based on the handNotes element of the Text Encoding Initiative (TEI).
To facilitate efficient data interchange, basic information about the circumstances
surrounding the creation of bibliographic resources should be recorded within the
The model of this element is based on the interpretation element of the Text Encoding Initiative (TEI).
This element is used exclusively within bibliographic descriptions. Do not confuse this
element with
A textual element may be related to this element by setting its
The model of this element is based on the language element of the Text Encoding Initiative (TEI) and the language element of the Encoded Archival Description (EAD).
The model of this element is based on the langUsage element of the Text Encoding Initiative (TEI).
In order to encourage uniformity in the provision of metadata across document types, this
element is modelled on an element in the Text Encoding Initiative (TEI) standard. This
information is often essential in a machine-readable environment. Five sub-elements must be
encoded in the following order:
This element is used exclusively within bibliographic descriptions. Do not confuse
The model of this element is based on the namespace element of the Text Encoding Initiative (TEI).
The model of this element is based on the normalization element of the Text Encoding Initiative (TEI).
The model of this element is based on the notesStmt element of the Text Encoding Initiative (TEI).
A patch must always contain a
Arrangements are coded for the medium of the work being described, not for the original medium.
In the context of a performance resource the attribute
To indicate the tuning of an instrument, the attribute
The function of instrumentalists or vocalists is represented by the choice of
Dedicatory text and title page features may also be encoded here when they are not transcribed as part of the front or back matter; i.e., when they are considered to be meta-data rather than a transcription.
The model of this element is based on the physdesc element of the Encoded Archival Description (EAD).
All materials may be described in a single
The model of this element is based on respective elements of the Encoded Archival Description (EAD). It has the same function as the material element of the Text Encoding Initiative (TEI).
While it is often called a "plate number", it does not always contain numbers. The
Best practice suggests the use of controlled vocabulary for the currency attribute, such as the ISO 4217 list of currency designators.
The model of this element is based on the projectDesc element of the Text Encoding Initiative (TEI).
The model of this element is based on the respective element of the Encoded Archival Description (EAD) and the provenance element of the Text Encoding Initiative (TEI).
When an item is unpublished, use only the
The model of this element is based on the publicationStmt element of the Text Encoding Initiative (TEI).
It is recommended that changes be recorded in reverse chronological order, with the most recent alteration first.
The model of this element is based on the revisionDesc element of the Text Encoding Initiative (TEI).
The model of this element is based on the samplingDecl element of the Text Encoding Initiative (TEI).
The model of this element is based on the segmentation element of the Text Encoding Initiative (TEI).
The
The model of this element is based on the seriesStmt element of the Text Encoding Initiative (TEI).
The number of apparent playback channels can differ from the number of physical channels of
the recording medium, i.e., 2-track monophonic recordings. In this example, the soundChan
element should record the fact that there is a single output channel, while the
This element contains, or references via its
The
The model of this element is based on the source element of the Text Encoding Initiative (TEI) and the source element of the Encoded Archival Description (EAD).
This element is recommended where the MEI file is a transcription of existing music, but is not required when the data is originally created in MEI form.
The model of this element is based on the stdVals element of the Text Encoding Initiative (TEI).
The model of this element is based on the tagsDecl element of the Text Encoding Initiative (TEI).
The model of this element is based on the tagUsage element of the Text Encoding Initiative (TEI).
An external taxonomy from which all the descendant
The model of this element is based on the titleStmt element of the Text Encoding Initiative (TEI).
The number of apparent playback channels can differ from the number of physical channels of
the recording medium, i.e., 2-track monophonic recordings. In this example, the trackConfig
element should record the fact that there are two physical tracks on the sound medium, while
the
Treatment history may also comprise details of the treatment process (e.g., chemical solutions used, techniques applied, etc.), the date the treatment was applied, etc.
The model of this element is based on the respective element of the Encoded Archival Description (EAD).
The model of this element is based on the respective element of the Encoded Archival Description (EAD).
A short phrase indicating the nature of or the reason for the unpublished status may be given as the element’s content.
The model of this element is based on the userestrict element of the Encoded Archival Description (EAD).
The
The model of this element is based on the watermark element of the Text Encoding Initiative (TEI).
The
The
The
The volta element is intended for those cases where the musical notation is repeated, but the accompanying lyrics are not.
The rhythmic meaning of the components of a ligature is typically contextual, not absolute;
therefore, an interpretative duration may be encoded on each of the components using either
the not be used for
brackets in modern notation that indicate notes that were part of a ligature in the original
source.
The
The proport element is provided for the encoding of mensural notation. It allows the description of note durations as arithmetic ratios. While mensuration refers to the normal relationships between note durations, proportion affects the relations of the note durations to the tactus.
Mensural notes can have multiple stems and these may have various forms, directions, and types of flags.
Multiple stem elements can be encoded as children of a single note. The attributes
The
The value of the
The element’s content must be wrapped in a CDATA section to avoid parsing errors.
This element provides a starting or default instrument declaration for a staff, a group of staves, or a layer. Following scoreDef, staffDef, layerDef, or MIDI prog elements may then change the instrument as necessary.
The
The model of this element is based on the accMat element of the Text Encoding Initiative (TEI).
The model of this element is based on the additions element of the Text Encoding Initiative (TEI).
The model of this element is based on the binding element of the Text Encoding Initiative (TEI).
The model of this element is based on the bindingDesc element of the Text Encoding Initiative (TEI).
The model of this element is based on the catchwords element of the Text Encoding Initiative (TEI).
The model of this element is based on the collation element of the Text Encoding Initiative (TEI).
The model of this element is based on the colophon element of the Text Encoding Initiative (TEI).
The model of this element is based on the decoDesc element of the Text Encoding Initiative (TEI).
The model of this element is based on the decoNote element of the Text Encoding Initiative (TEI).
The model of this element is based on the explicit element of the Text Encoding Initiative (TEI).
The model of this element is based on the foliation element of the Text Encoding Initiative (TEI).
The model of this element is based on the heraldry element of the Text Encoding Initiative (TEI).
A single number indicates that all pages have this number of columns. Two numbers mean that the number of columns per page varies between the values supplied.
A single number indicates that all columns have this number of ruled lines. Two numbers mean that the number of text lines per column varies between the values supplied.
A single number indicates that all columns have this number of written text lines. Two numbers mean that the number of text lines per column varies between the values supplied.
A single number indicates that all columns have this number of ruled staves. Two numbers mean that the number of ruled staves per column varies between the values supplied.
A single number indicates that all columns have this number of written staves. Two numbers mean that the number of written staves per column varies between the values supplied.
The model of this element is based on the layout element of the Text Encoding Initiative (TEI).
The model of this element is based on the layoutDesc element of the Text Encoding Initiative (TEI).
The model of this element is based on the locus element of the Text Encoding Initiative (TEI).
The model of this element is based on the locusGrp element of the Text Encoding Initiative (TEI).
The model of this element is based on the rubric element of the Text Encoding Initiative (TEI).
The model of this element is based on the scriptDesc element of the Text Encoding Initiative (TEI).
The model of this element is based on the scriptNote element of the Text Encoding Initiative (TEI).
The model of this element is based on the seal element of the Text Encoding Initiative (TEI).
The model of this element is based on the sealDesc element of the Text Encoding Initiative (TEI).
The model of this element is based on the secFol element of the Text Encoding Initiative (TEI).
The model of this element is based on the signatures element of the Text Encoding Initiative (TEI).
The model of this element is based on the stamp element of the Text Encoding Initiative (TEI).
The model of this element is based on the support element of the Text Encoding Initiative (TEI).
The model of this element is based on the supportDesc element of the Text Encoding Initiative (TEI).
The model of this element is based on the typeDesc element of the Text Encoding Initiative (TEI).
The model of this element is based on the typeNote element in the Text Encoding Initiative (TEI).
The model of this element is based on the addName element of the Text Encoding Initiative (TEI).
The model of this element is based on the bloc element of the Text Encoding Initiative (TEI).
Examples of corporate entities include names of associations, institutions, business firms,
non-profit enterprises, governments, government agencies, projects, programs, religious
bodies, churches, conferences, athletic contests, exhibitions, expeditions, fairs, and
ships. Usually, secondary name parts are encoded in
The model of this element is based on the corpname element of the Encoded Archival Description (EAD).
The model of this element is based on the country element of the Text Encoding Initiative (TEI).
The model of this element is based on the district element of the Text Encoding Initiative (TEI).
The model of this element is based on the forename element of the Text Encoding Initiative (TEI).
The model of this element is based on the genName element of the Text Encoding Initiative (TEI).
The model of this element is based on the geogFeat element of the Text Encoding Initiative (TEI).
Examples include Black Forest; Baltimore, Maryland; and Quartier Latin, Paris. Geographic
name parts can be encoded using
The model of this element is based on the geogname element of the Encoded Archival Description (EAD).
The model of this element is based on the nameLink element of the Text Encoding Initiative (TEI).
The name of the list from which a controlled value is taken may be recorded using the
Parts of a personal name may be captured using
The model of this element is based on the persname element of the Encoded Archival Description (EAD).
The model of this element is based on the postBox element of the Text Encoding Initiative (TEI).
The model of this element is based on the postCode element of the Text Encoding Initiative (TEI).
The model of this element is based on the region element of the Text Encoding Initiative (TEI).
The model of this element is based on the roleName element of the Text Encoding Initiative (TEI).
The model of this element is based on the settlement element of the Text Encoding Initiative (TEI).
The model of this element is based on the street element of the Text Encoding Initiative (TEI).
Do not confuse this element with the
This element is analogous to the
This element is analogous to the
The
The
The
The model of this element is based on the when element of the Text Encoding Initiative (TEI).
Unlike the
The model of this element is based on the ptr element of the Encoded Archival Description (EAD) and the ptr element of the Text Encoding Initiative (TEI).
Unlike the
The model of this element is based on the ref element of the Encoded Archival Description (EAD) and the ref element of the Text Encoding Initiative (TEI).
The
This attribute is ignored if the value of the bar.style attribute is
The location may include staff lines, the spaces between the lines, and the spaces
directly above and below the staff. The value ranges between 0 (just below the staff) to
2 * number of staff lines (directly above the staff). For example, on a 5-line staff the
lines would be numbered 1, 3, 5, 7, and 9 while the spaces would be numbered 0, 2, 4, 6,
8, and 10. So, a value of
This attribute is ignored if the value of the bar.style attribute is
Mapping elements from one system to another via
This attribute is based on the TEI attribute of the same name.
Mixed key signatures, e.g., those consisting of a mixture of flats and sharps (Read, p. 143,
ex. 9-39), and key signatures with unorthodox placement of the accidentals (Read, p. 141)
can be encoded using the
Mixed key signatures, e.g., those consisting of a mixture of flats and sharps (Read, p. 143,
ex. 9-39), and key signatures with unorthodox placement of the accidentals (Read, p. 141)
can be encoded using the
Don't confuse this attribute with the
There is no standard list of transliteration schemes.
BCP 47 is described at https://tools.ietf.org/html/bcp47. The IANA Subtag Registry, from which BCP 47 language tags are constructed, may be found at www.iana.org/assignments/language-subtag-registry. A tool for locating subtags and validating language tags is available at https://r12a.github.io/apps/subtags.
When applicable, values from the MARC relator term list (http://www.loc.gov/marc/relators/relaterm.html) or code list (http://www.loc.gov/marc/relators/relacode.html) are recommended for
If no value is given, the application program is responsible for deciding (possibly on the basis of user input) how far to trace a chain of pointers.
Diatonic transposition requires both
When appropriate, values from an established typology should be used.
The width attribute may be used to capture measure width data for interchange with music
printing systems that utilize this information for printing. On
An accidental may raise a pitch by one or two semitones or it may cancel a previous
accidental or part of a key signature. This element provides an alternative to the
The model of this element is based on the actor element of the Text Encoding Initiative (TEI).
The model of this element is based on the address element of the Text Encoding Initiative (TEI) and the address element of the Encoded Archival Description (EAD).
The model of this element is based on the addrLine element of the Text Encoding Initiative (TEI) and the addressline element of the Encoded Archival Description (EAD).
The
Articulations typically affect duration, such as staccato marks, or the force of attack,
such as accents. This element provides an alternative to the
The model of this element is based on the author element of the Text Encoding Initiative (TEI) and the author element of the Encoded Archival Description (EAD).
This element is provided for repertoires, such as mensural notation, that lack measures.
Because the
The model of this element is based on the bibl element of the Text Encoding Initiative (TEI) and the bibref element of the Encoded Archival Description (EAD).
The model of this element is based on the listBibl element of the Text Encoding Initiative (TEI).
Use the
The model of this element is based on the biblScope element of the Text Encoding Initiative (TEI).
When the music can be broken into high-level, discrete, linear segments, such as movements
of a symphony, there may be multiple
The content model of
The caesura often indicates an abrupt interruption in the performance followed by an
equally sudden resumption. Its duration is typically shorter than a grand pause (G.P.) or
long pause (L.P.), but longer than that indicated by a
Unlike the
The model of this element is based on the castGroup element of the Text Encoding Initiative (TEI).
The model of this element is based on the castItem element of the Text Encoding Initiative (TEI).
The model of this element is based on the castList element of the Text Encoding Initiative (TEI).
The model of this element is based on the cb element of the Text Encoding Initiative (TEI).
This element can be used as an alternative to the
When applicable, values from the MARC relator term list (http://www.loc.gov/marc/relators/relaterm.html) or code list (http://www.loc.gov/marc/relators/relacode.html) are recommended for
The model of this element is based on the creation element of the Text Encoding Initiative (TEI).
The most common visual form is a sign resembling a mordent. Other graphical forms may be
indicated by the
The model of this element is based on the date element of the Text Encoding Initiative (TEI) and the date element of the Encoded Archival Description (EAD).
The model of this element is based on the desc element of the Text Encoding Initiative (TEI).
The
The elements
The model of this element is based on the dimensions element of the Text Encoding Initiative (TEI) and the dimensions element of the Encoded Archival Description (EAD).
Examples include text strings, such as 'affettuoso', and music symbols, such as segno and
coda symbols, fermatas over a bar line, etc. Directives can be control elements. That is,
they can be linked via their attributes to other events. The starting point of the directive
may be indicated by either a
The model of this element is based on the distributor element of the Text Encoding Initiative (TEI).
Often, the
This element provides an alternative to the
This element may be used for instantaneous or continuous
The model of this element is based on the edition element of the Text Encoding Initiative (TEI) and the edition element of the Encoded Archival Description (EAD).
The model of this element is based on the editor element of the Text Encoding Initiative (TEI).
The
An
The
Use the physical size of materials being described, for example, height and
width.
The model of this element is based on the extent element of the Text Encoding Initiative (TEI).
Container for holding non-MEI data formats, similar to
The model of this element is based on the funder element of the Text Encoding Initiative (TEI).
Because its model contains the music element, each of the subordinate MEI documents can have its own front and back matter.
The model of this element is based on the group element of the Text Encoding Initiative (TEI).
This element provides an alternative to the
One or more
The model of this element is based on the head element of the Encoded Archival Description (EAD), the head element of the Text Encoding Initiative (TEI), and the head element of HTML.
Examples include an International Standard Book/Music Number, Library of Congress Control
Number, publisher’s number, a personal identification number, an entry in a bibliography or
catalog, etc. The
The model of this element is based on the imprint element of the Text Encoding Initiative (TEI).
The
It is a semantic error not to provide one of the following: the
The model of this element is based on the label element of the Text Encoding Initiative (TEI).
Don't confuse this element, which is used to capture labelling text appearing in the
document, with the
The term 'layer' is used instead of 'voice' in order to avoid confusion between 'voice' and
'voice leading' and 'voicing'. The
The
The model of this element is based on the lb element of the Text Encoding Initiative (TEI).
The model of this element is based on the lg element of the Text Encoding Initiative (TEI).
The
The
Contains the name of an entity that is difficult to tag more specifically, for example, as
a
The model of this element is based on the name element of the Encoded Archival Description (EAD).
The
Use this element only when it is necessary to display a number in a special way or to
identify it with a
If it is not textual, the glyph of the ornament may be indicated with the
A paragraph is usually typographically distinct: The text usually begins on a new line and the first letter of the content is often indented, enlarged, or both.
The model of this element is based on the p element of the Encoded Archival Description, the p element of the Text Encoding Initiative (TEI), and the p element of HTML.
The
The model of this element is based on the pb element of the Text Encoding Initiative (TEI).
Best practice suggests the use of controlled vocabulary. Don't confuse this element with a figure caption. A caption is text primarily intended for display with an illustration. It may or may not function as a description of the illustration.
This element is used to capture the textual data that often appears in
printed music. It may also be used for similarly formatted material in manuscripts. When
used within *not* be used to encode textual notes/annotations.
This element is used to capture the textual data that often appears in
printed music. It may also be used for similarly formatted material in manuscripts. When
used within *not* be used to encode textual notes/annotations.
Historically, the term "slur" indicated two notes performed legato, while the term "phrase"
was used for a "unified melodic idea". Nowadays, however, "slur" often has the same meaning
as "phrase" (See Read, p. 265-266), since the visual rendition of the two concepts is the
same. MEI provides two distinct elements so that those users wishing to maintain a
distinction for historical reasons may do so. If the user does not want to maintain the
distinction, then the more generic
The model of this element is based on the physloc element of the Encoded Archival Description (EAD).
The model of this element is based on the publisher element of the Text Encoding Initiative (TEI).
The model of this element is based on the pubPlace element of the Text Encoding Initiative (TEI).
The
When an entire element should be rendered in a special way, a style sheet function should
be used instead of the
Sub-units of the holding institution may be marked with
The model of this element is based on the repository element of the Encoded Archival Description (EAD).
The name of the list from which a controlled value is taken may be recorded using the
The model of this element is based on the resp element of the Text Encoding Initiative (TEI).
The model of this element is based on the respStmt element of the Text Encoding Initiative (TEI).
See (Read, p. 96-102). Do not confuse this element with the
The model of this element is based on the role element of the Text Encoding Initiative (TEI).
The model of this element is based on the roleDesc element of the Text Encoding Initiative (TEI).
Do not confuse this element with the
Since the
This element functions as a container for actual music data. Pointing attributes make it possible to connect this element to other internal or external entities, such as media objects or annotations.
The model of this element is based on the series element of the Text Encoding Initiative (TEI).
The model of this element is based on the speaker element of the Text Encoding Initiative (TEI).
The model of this element is based on the sponsor element of the Text Encoding Initiative (TEI) and the sponsor element of the Encoded Archival Description (EAD).
The
System is the more proper name for this concept (Read, p. 37-38). Bracketed staff groups may contain other bracketed or braced staff groups or single staves. See Read, p. 35-38, examples p. 434, 438.
Do not confuse this element with the
The starting point, e.g., "hotspot", of the symbol may be identified in absolute output
coordinate terms using the
The
To associate a term with a taxonomy category defined in the MEI metadata header, the value
of
The model of this element is based on the term element of the Text Encoding Initiative (TEI).
The
The model of this element is based on the title element of the Text Encoding Initiative (TEI).
This element may be used within the
The model of this element is based on the titlePage element of the Text Encoding Initiative (TEI).
The model of this element is based on the titlePart element of the Text Encoding Initiative (TEI).
The
The model of this element is based on the argument element of the Text Encoding Initiative (TEI).
The model of this element is based on the back element of the Text Encoding Initiative (TEI).
The model of this element is based on the epigraph element of the Text Encoding Initiative (TEI).
The model of this element is based on the front element of the Text Encoding Initiative (TEI).
The model of this element is based on the imprimatur element of the Text Encoding Initiative (TEI).
Do not confuse this element with the
The model of this element is based on the l element of the Text Encoding Initiative (TEI).
The model of this element is based on the item elements of the Encoded Archival Description (EAD), the item element of the Text Encoding Initiative (TEI), and the li element of HTML.
In a list of type
The model of this element is based on the list element of the Encoded Archival Description (EAD), the list element of the Text Encoding Initiative (TEI), and the respective elements of HTML.
This element may be used for a variety of reasons including, but not limited to: direct speech or thought, technical terms or jargon, authorial distance, quotations from elsewhere, and passages that are mentioned but not used.
Do not confuse this element, used to capture phrase-level quotations, and
The model of this element is based on the q element of HTML and the q element of the Text Encoding Initiative (TEI).
The source for the quote may be included in a
Do not confuse this element, used to capture block-level quotations, and
The model of this element is based on the quote element of the Text Encoding Initiative (TEI) and the quote element of the Encoded Archival Description (EAD).
The model of this element is based on the seg element of the Text Encoding Initiative (TEI).
This element may be used where semantic markup of the text is neither possible nor
desirable, such as in optical music recognition (OMR) applications. The content model here
is similar to paragraph without model.textcomponent and
The starting point of the curve may be identified in absolute output coordinate terms using
the
The starting point of the line may be identified in absolute output coordinate terms using
the
Like a chord table, a symbolTable may be shared between MEI instances through the use of an external parsed entity containing the symbolTable to be shared.
Like a chord table, a symbolTable may be shared between mei instances through the use of an external parsed entity containing the symbolTable to be shared.
This attribute is ignored if the value of the style attribute is
The location may include staff lines, the spaces between the lines, and the spaces
directly above and below the staff. The value ranges between 0 (just below the staff) to
2 * number of staff lines (directly above the staff). For example, on a 5-line staff the
lines would be numbered 1, 3, 5, 7, and 9 while the spaces would be numbered 0, 2, 4, 6,
8, and 10. So, a value of
This attribute is ignored if the value of the style attribute is
If
If
The value is structured; that is, it should contain a single color value or have the same number of space-separated values as the number of lines indicated by the lines attribute. The first value then applies to the lowest line of the staff.
All values from data.COLOR are allowed.
This attribute is ignored when the