<measure>

Module
Attributes
@label, @left, @metcon, @n, @right, @type, @xml:id
@label(optional)Captures text to be used to generate a label for the element to which it’s attached, a "tool tip" or prefatory text, for example. Should not be used to record document content. Value is plain text.
@left(optional)Indicates the visual rendition of the left bar line. It is present here only for facilitation of translation from legacy encodings which use it. Usually, it can be safely ignored. Value conforms to data.BARRENDITION.
@metcon(optional)Indicates the relationship between the content of a measure and the prevailing meter. Value conforms to data.BOOLEAN.
@n(optional)Provides a number-like designation that indicates an element’s position in a sequence of similar elements. May not contain space characters. Value conforms to data.WORD.
@right(optional)Indicates the function of the right bar line and is structurally important. Value conforms to data.BARRENDITION.
@type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels. One or more values of datatype NMTOKEN, separated by spaces.
@xml:id(optional)Regularizes the naming of an element and thus facilitates building links between it and other resources. Each id attribute within a document must have a unique value. Value is a valid xml:id.
(MEI.shared) Attributes common to many elements.
(MEI.shared) Attributes that uniquely identify an element.
@xml:id(optional)Regularizes the naming of an element and thus facilitates building links between it and other resources. Each id attribute within a document must have a unique value. Value is a valid xml:id.
(MEI.shared)
@label(optional)Captures text to be used to generate a label for the element to which it’s attached, a "tool tip" or prefatory text, for example. Should not be used to record document content. Value is plain text.
(MEI.shared) Attributes which can be used to classify features.
@type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels. One or more values of datatype NMTOKEN, separated by spaces.
(MEI.gestural) Gestural domain attributes. The tstamp.ges and tstamp.real attributes encode the onset time of the measure. In reality, this is usually the same as the onset time of the first event in the measure.
(MEI.cmn) Logical domain attributes. The n attribute contains a name or number associated with the measure (Read, p. 445). Often, this is an integer, but not always. For example, some measures, especially incomplete measures or those under an ending mark, may have labels that contain an integer plus a suffix, such as '12a'. Measures may even have labels, especially in editorial or analytical uses of MEI, that are entirely non-numeric strings. Measure numbers may be machine-generated instead of encoding them in the markup. However, an explicit measure number should restart numbering with the given value. The join attribute may be used to indicate another measure which metrically completes the current, incomplete one.
@left(optional)Indicates the visual rendition of the left bar line. It is present here only for facilitation of translation from legacy encodings which use it. Usually, it can be safely ignored. Value conforms to data.BARRENDITION.
@right(optional)Indicates the function of the right bar line and is structurally important. Value conforms to data.BARRENDITION.
(MEI.shared) Attributes that provide information about a measure's conformance to the prevailing meter.
@metcon(optional)Indicates the relationship between the content of a measure and the prevailing meter. Value conforms to data.BOOLEAN.
(MEI.shared) Attributes used to supply a number-like designation for an element.
@n(optional)Provides a number-like designation that indicates an element’s position in a sequence of similar elements. May not contain space characters. Value conforms to data.WORD.
@left(optional)Indicates the visual rendition of the left bar line. It is present here only for facilitation of translation from legacy encodings which use it. Usually, it can be safely ignored. Value conforms to data.BARRENDITION.
@right(optional)Indicates the function of the right bar line and is structurally important. Value conforms to data.BARRENDITION.
@label(optional)Captures text to be used to generate a label for the element to which it’s attached, a "tool tip" or prefatory text, for example. Should not be used to record document content. Value is plain text.
@metcon(optional)Indicates the relationship between the content of a measure and the prevailing meter. Value conforms to data.BOOLEAN.
@n(optional)Provides a number-like designation that indicates an element’s position in a sequence of similar elements. May not contain space characters. Value conforms to data.WORD.
@type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels. One or more values of datatype NMTOKEN, separated by spaces.
@xml:id(optional)Regularizes the naming of an element and thus facilitates building links between it and other resources. Each id attribute within a document must have a unique value. Value is a valid xml:id.
Member of
model.measureLikeGroups CMN measure-like elements.
Contained By
(MEI.cmn) Groups CMN measure-like elements.
(MEI.cmn) Groups elements that may appear as part of a section.
<ending>Alternative ending for a repeated passage of music; i.e., prima volta, seconda volta, etc.
(MEI.shared) Groups elements that may appear as part of a section.
<section>Segment of music data.
<ending>Alternative ending for a repeated passage of music; i.e., prima volta, seconda volta, etc.
<section>Segment of music data.
May Contain
<mNum>Designation, name, or label for a measure, often but not always consisting of digits. Use this element when the @n attribute on <measure> does not adequately capture the appearance or placement of the measure number/label.
(MEI.cmn) Groups elements that may appear within a CMN measure.
(MEI.cmn) Groups control events that appear in CMN.
<arpeg>Indicates that the notes of a chord are to be performed successively rather than simultaneously, usually from lowest to highest. Sometimes called a "roll".
<breath>An indication of a point at which the performer on an instrument requiring breath (including the voice) may breathe.
<fermata>An indication placed over a note or rest to indicate that it should be held longer than its written value. May also occur over a bar line to indicate the end of a phrase or section. Sometimes called a 'hold' or 'pause'.
<hairpin>Indicates continuous dynamics expressed on the score as wedge-shaped graphics, e.g., < and >.
<harpPedal>Harp pedal diagram.
<lv>A "tie-like" indication that a note should ring beyond its written duration.
<octave>An indication that a passage should be performed one or more octaves above or below its written pitch.
<pedal>Piano pedal mark.
<reh>In an orchestral score and its corresponding parts, a mark indicating a convenient point from which to resume rehearsal after a break.
<slur>Indication of 1) a "unified melodic idea" or 2) performance technique.
<tie>An indication that two notes of the same pitch form a single note with their combined rhythmic values.
(MEI.cmnOrnaments) Groups CMN ornament elements.
<mordent>An ornament indicating rapid alternation of the main note with a secondary note, usually a step below, but sometimes a step above.
<trill>Rapid alternation of a note with another (usually at the interval of a second above).
<turn>An ornament consisting of four notes — the upper neighbor of the written note, the written note, the lower neighbor, and the written note.
(MEI.cmn) Groups elements that function like ossia.
(MEI.midi) Groups elements which group MIDI-like elements.
(MEI.shared) Groups elements, such as dynamics, ties, phrase marks, pedal marks, etc., which depend upon other events, such as notes or rests, for their existence.
<caesura>Break, pause, or interruption in the normal tempo of a composition. Typically indicated by "railroad tracks", i.e., two diagonal slashes.
<dir>An instruction expressed as a combination of text and symbols, typically above, below, or between staves, but not on the staff — that is not encoded elsewhere in more specific elements, like <tempo>, <dynam> or <repeatMark>.
<dynam>Indication of the volume of a note, phrase, or section of music.
<gliss>A continuous or sliding movement from one pitch to another, usually indicated by a straight or wavy line.
<ornam>An element indicating an ornament that is not a mordent, turn, or trill.
<repeatMark> An instruction expressed as a combination of text and symbols – segno and coda – typically above, below, or between staves, but not on the staff.
<tempo>Text and symbols descriptive of tempo, mood, or style, e.g., "allarg.", "a tempo", "cantabile", "Moderato", "♩=60", "Moderato ♩ =60").
(MEI.fingering) Groups elements that capture performance instructions regarding the use of the fingers of the hand (or a subset of them).
<fing>An individual finger in a fingering indication.
<fingGrp>A group of individual fingers in a fingering indication.
(MEI.harmony) Groups harmonic elements that function as control events; that is, those events that modify or otherwise depend on the existence of notated events.
(MEI.harmony) Groups elements that record indications of harmony.
<harm>An indication of harmony, e.g., chord names, tablature grids, harmonic analysis, figured bass.
(MEI.shared) Groups elements that function like staves.
<staff>A group of equidistant horizontal lines on which notes are placed in order to represent pitch or a grouping element for individual 'strands' of notes, rests, etc. that may or may not actually be rendered on staff lines; that is, both diastematic and non-diastematic signs.
(MEI.shared) Groups annotation-like elements.
(MEI.shared) Groups milestone-style elements found in music notation.
<sb>An empty formatting element that forces musical notation to begin on a new line.
(MEI.shared) Groups page beginning-like elements.
<pb>An empty formatting element that forces text to begin on a new page.
(MEI.shared) Collects elements that express a relationship.
<arpeg>Indicates that the notes of a chord are to be performed successively rather than simultaneously, usually from lowest to highest. Sometimes called a "roll".
<breath>An indication of a point at which the performer on an instrument requiring breath (including the voice) may breathe.
<fermata>An indication placed over a note or rest to indicate that it should be held longer than its written value. May also occur over a bar line to indicate the end of a phrase or section. Sometimes called a 'hold' or 'pause'.
<gliss>A continuous or sliding movement from one pitch to another, usually indicated by a straight or wavy line.
<hairpin>Indicates continuous dynamics expressed on the score as wedge-shaped graphics, e.g., < and >.
<harpPedal>Harp pedal diagram.
<lv>A "tie-like" indication that a note should ring beyond its written duration.
<mNum>Designation, name, or label for a measure, often but not always consisting of digits. Use this element when the @n attribute on <measure> does not adequately capture the appearance or placement of the measure number/label.
<octave>An indication that a passage should be performed one or more octaves above or below its written pitch.
<pedal>Piano pedal mark.
<reh>In an orchestral score and its corresponding parts, a mark indicating a convenient point from which to resume rehearsal after a break.
<repeatMark> An instruction expressed as a combination of text and symbols – segno and coda – typically above, below, or between staves, but not on the staff.
<slur>Indication of 1) a "unified melodic idea" or 2) performance technique.
<tie>An indication that two notes of the same pitch form a single note with their combined rhythmic values.
<mordent>An ornament indicating rapid alternation of the main note with a secondary note, usually a step below, but sometimes a step above.
<trill>Rapid alternation of a note with another (usually at the interval of a second above).
<turn>An ornament consisting of four notes — the upper neighbor of the written note, the written note, the lower neighbor, and the written note.
<fing>An individual finger in a fingering indication.
<fingGrp>A group of individual fingers in a fingering indication.
<harm>An indication of harmony, e.g., chord names, tablature grids, harmonic analysis, figured bass.
<caesura>Break, pause, or interruption in the normal tempo of a composition. Typically indicated by "railroad tracks", i.e., two diagonal slashes.
<dir>An instruction expressed as a combination of text and symbols, typically above, below, or between staves, but not on the staff — that is not encoded elsewhere in more specific elements, like <tempo>, <dynam> or <repeatMark>.
<dynam>Indication of the volume of a note, phrase, or section of music.
<ornam>An element indicating an ornament that is not a mordent, turn, or trill.
<pb>An empty formatting element that forces text to begin on a new page.
<sb>An empty formatting element that forces musical notation to begin on a new line.
<staff>A group of equidistant horizontal lines on which notes are placed in order to represent pitch or a grouping element for individual 'strands' of notes, rests, etc. that may or may not actually be rendered on staff lines; that is, both diastematic and non-diastematic signs.
<tempo>Text and symbols descriptive of tempo, mood, or style, e.g., "allarg.", "a tempo", "cantabile", "Moderato", "♩=60", "Moderato ♩ =60").
Remarks

In MEI, the <measure> element is a grouping mechanism for events and control events. Pointing attributes make it possible to connect this element to other internal or external entities, such as media objects or annotations. The @width attribute may be used to capture the width of the measure for interchange with music printing systems that utilize this information for printing.

Declaration
<elementSpec rend="add" ident="measure" module="MEI.cmn">
<desc rend="replace">Unit of musical time consisting of a fixed number of note values of a given type, as determined by the prevailing meter, and delimited in musical notation by bar lines.</desc>
<classes>
<memberOf key="att.common"/>
<memberOf key="att.measure.ges"/>
<memberOf key="att.measure.log"/>
<memberOf key="model.measureLike"/>
<memberOf key="att.nNumberLike"/>
</classes>
<content>
<optional>
<ref name="mNum"/>
</optional>
<zeroOrMore>
<choice>
<ref name="model.annotLike"/>
<ref name="model.appLike"/>
<ref name="model.editLike"/>
<ref name="model.measurePart"/>
<ref name="model.relationLike"/>
</choice>
</zeroOrMore>
</content>
<remarks>
<p>In MEI, the <gi scheme="MEI">measure</gi> element is a grouping mechanism for events and control events. Pointing attributes make it possible to connect this element to other internal or external entities, such as media objects or annotations. The <att>width</att> attribute may be used to capture the width of the measure for interchange with music printing systems that utilize this information for printing.</p>
</remarks>
</elementSpec>