att.harm.log

Logical domain attributes.
Module
Attributes
@chordref, @dur, @endid, @layer, @plist, @staff, @startid, @tstamp, @tstamp2
@chordref(optional)Contains a reference to a <chordDef> element elsewhere in the document.
@dur(optional)When a duration cannot be represented as a single power-of-two value, multiple space-separated values that add up to the total duration may be used.
@endid(optional)Indicates the final element in a sequence of events to which the feature applies.
@layer(optional)Identifies the layer to which a feature applies.
@plist(optional)When the target attribute is present, plist identifies the active participants; that is, those entities pointed "from", in a relationship with the specified target(s). When the target attribute is not present, it identifies participants in a mutual relationship.
@staff(optional)Signifies the staff on which a notated event occurs or to which a control event applies. Mandatory when applicable.
@startid(optional)Holds a reference to the first element in a sequence of events to which the feature applies.
@tstamp(optional)Encodes the onset time in terms of musical time, i.e., beats[.fractional beat part], as expressed in the written time signature.
@tstamp2(optional)Encodes the ending point of an event, i.e., a count of measures plus a beat location in the ending measure.
@chordref(optional)Contains a reference to a <chordDef> element elsewhere in the document.
(MEI.shared) Attributes shared by events which rely on other events for their existence. For example, a slur/phrase marking must be drawn between or over a group of notes. The slur is therefore a control event.
(MEI.shared) Attributes that identify the layer to which a feature applies.
@layer(optional)Identifies the layer to which a feature applies.
(MEI.shared) Attributes listing the active participants in a user-defined collection.
@plist(optional)When the target attribute is present, plist identifies the active participants; that is, those entities pointed "from", in a relationship with the specified target(s). When the target attribute is not present, it identifies participants in a mutual relationship.
(MEI.shared) Attributes for identifying the staff or staff group associated with the current feature.
@staff(optional)Signifies the staff on which a notated event occurs or to which a control event applies. Mandatory when applicable.
(MEI.shared) Attributes that record a time stamp in terms of musical time, , beats[.fractional beat part].
@tstamp(optional)Encodes the onset time in terms of musical time, i.e., beats[.fractional beat part], as expressed in the written time signature.
(MEI.shared) Attributes that permit total duration to be represented by multiple values.
@dur(optional)When a duration cannot be represented as a single power-of-two value, multiple space-separated values that add up to the total duration may be used.
(MEI.shared) Attributes recording the identifiers of the first and last elements of a sequence of elements to which the current element is associated.
@endid(optional)Indicates the final element in a sequence of events to which the feature applies.
(MEI.shared) Attributes that identify a relative starting point.
@startid(optional)Holds a reference to the first element in a sequence of events to which the feature applies.
(MEI.shared) Attributes that record a time stamp for the end of an event in terms of musical time.
@tstamp2(optional)Encodes the ending point of an event, i.e., a count of measures plus a beat location in the ending measure.
@chordref(optional)Contains a reference to a <chordDef> element elsewhere in the document.
@dur(optional)When a duration cannot be represented as a single power-of-two value, multiple space-separated values that add up to the total duration may be used.
@endid(optional)Indicates the final element in a sequence of events to which the feature applies.
@layer(optional)Identifies the layer to which a feature applies.
@plist(optional)When the target attribute is present, plist identifies the active participants; that is, those entities pointed "from", in a relationship with the specified target(s). When the target attribute is not present, it identifies participants in a mutual relationship.
@staff(optional)Signifies the staff on which a notated event occurs or to which a control event applies. Mandatory when applicable.
@startid(optional)Holds a reference to the first element in a sequence of events to which the feature applies.
@tstamp(optional)Encodes the onset time in terms of musical time, i.e., beats[.fractional beat part], as expressed in the written time signature.
@tstamp2(optional)Encodes the ending point of an event, i.e., a count of measures plus a beat location in the ending measure.
Available at
<harm>An indication of harmony, e.g., chord names, tablature grids, harmonic analysis, figured bass.
<harm>An indication of harmony, e.g., chord names, tablature grids, harmonic analysis, figured bass.
Constraints

@chordref attribute should have content.
The value in @chordref should correspond to the @xml:id attribute of a chordDef element.

Declaration
<classSpec xmlns="http://www.tei-c.org/ns/1.0" rend="add" ident="att.harm.log" module="MEI.harmony" type="atts">
<desc xml:lang="en">Logical domain attributes.</desc>
<classes>
<memberOf key="att.controlEvent"/>
<memberOf key="att.duration.additive"/>
<memberOf key="att.startEndId"/>
<memberOf key="att.timestamp2.log"/>
</classes>
<attList>
<attDef ident="chordref" usage="opt">
<gloss xml:lang="en">chord reference</gloss>
<desc xml:lang="en">Contains a reference to a
<gi scheme="MEI">chordDef</gi>
element elsewhere in the document.</desc>
<datatype>
<dataRef key="data.URI"/>
</datatype>
<constraintSpec ident="check_chordrefTarget" scheme="schematron">
<constraint>
<sch:rule context="@chordref">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@chordref attribute should have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:chordDef/@xml:id">The value in @chordref should correspond to the @xml:id attribute of a chordDef element.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
</attList>
</classSpec>