<graceGrp>

(grace group) – A container for a sequence of grace notes.
Module
Attributes
@attach, @color, @grace, @grace.time, @label, @layer, @staff, @type, @xml:id
@attach(optional)Records whether the grace note group is attached to the following event or to the preceding one. The usual name for the latter is "Nachschlag". Allowed values are: "pre" (Attached to the preceding event.), "post" (Attached to the following event.), "unknown" (Attachment is ambiguous.)
@color(optional)Used to indicate visual appearance. Do not confuse this with the musical term 'color' as used in pre-CMN notation. Value conforms to data.COLOR.
@grace(optional)Marks a note or chord as a "grace" (without a definite performed duration) and records from which other note/chord it should "steal" time. Value conforms to data.GRACE.
@grace.time(optional)Records the amount of time to be "stolen" from a non-grace note/chord. Value conforms to data.PERCENT.
@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.
@layer(optional)Identifies the layer to which a feature applies. One or more values of datatype positiveInteger, separated by spaces.
@staff(optional)Signifies the staff on which a notated event occurs or to which a control event applies. Mandatory when applicable. One or more values of datatype positiveInteger, separated by spaces.
@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.cmn) Logical domain attributes.
@attach(optional)Records whether the grace note group is attached to the following event or to the preceding one. The usual name for the latter is "Nachschlag". Allowed values are: "pre" (Attached to the preceding event.), "post" (Attached to the following event.), "unknown" (Attachment is ambiguous.)
(MEI.shared) Attributes that apply to all written events, e.g., note, chord, rest, etc.
(MEI.shared) Attributes that identify the layer to which a feature applies.
@layer(optional)Identifies the layer to which a feature applies. One or more values of datatype positiveInteger, separated by spaces.
(MEI.shared) Attributes for identifying the staff 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. One or more values of datatype positiveInteger, separated by spaces.
(MEI.cmn) Attributes that mark a note or chord as a "grace", how it should "steal" time, and how much time should be allotted to the grace note/chord.
@grace(optional)Marks a note or chord as a "grace" (without a definite performed duration) and records from which other note/chord it should "steal" time. Value conforms to data.GRACE.
@grace.time(optional)Records the amount of time to be "stolen" from a non-grace note/chord. Value conforms to data.PERCENT.
(MEI.visual) Visual domain attributes.
(MEI.shared) Visual color attributes.
@color(optional)Used to indicate visual appearance. Do not confuse this with the musical term 'color' as used in pre-CMN notation. Value conforms to data.COLOR.
@attach(optional)Records whether the grace note group is attached to the following event or to the preceding one. The usual name for the latter is "Nachschlag". Allowed values are: "pre" (Attached to the preceding event.), "post" (Attached to the following event.), "unknown" (Attachment is ambiguous.)
@grace(optional)Marks a note or chord as a "grace" (without a definite performed duration) and records from which other note/chord it should "steal" time. Value conforms to data.GRACE.
@grace.time(optional)Records the amount of time to be "stolen" from a non-grace note/chord. Value conforms to data.PERCENT.
@color(optional)Used to indicate visual appearance. Do not confuse this with the musical term 'color' as used in pre-CMN notation. Value conforms to data.COLOR.
@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.
@layer(optional)Identifies the layer to which a feature applies. One or more values of datatype positiveInteger, separated by spaces.
@staff(optional)Signifies the staff on which a notated event occurs or to which a control event applies. Mandatory when applicable. One or more values of datatype positiveInteger, separated by spaces.
@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.eventLike.cmnGroups events that appear in CMN.
Contained By
(MEI.cmn) Groups events that appear in CMN.
<beam>A container for a series of explicitly beamed events that begins and ends entirely within a measure.
<graceGrp>A container for a sequence of grace notes.
<tuplet>A group of notes with "irregular" (sometimes called "irrational") rhythmic values, for example, three notes in the time normally occupied by two or nine in the time of five.
(MEI.cmn) Groups notated events that may appear at the layer level in CMN.
(MEI.shared) Groups notated events that may appear at the layer level in all repertoires.
<layer>An independent stream of events on a staff.
<beam>A container for a series of explicitly beamed events that begins and ends entirely within a measure.
<graceGrp>A container for a sequence of grace notes.
<tuplet>A group of notes with "irregular" (sometimes called "irrational") rhythmic values, for example, three notes in the time normally occupied by two or nine in the time of five.
<layer>An independent stream of events on a staff.
May Contain
(MEI.cmn) Groups events that appear in CMN.
<bTrem>A rapid alternation on a single pitch or chord.
<beam>A container for a series of explicitly beamed events that begins and ends entirely within a measure.
<beatRpt>An indication that material on a preceding beat should be repeated.
<fTrem>A rapid alternation between a pair of notes (or chords or perhaps between a note and a chord) that are (usually) farther apart than a major second.
<graceGrp>A container for a sequence of grace notes.
<halfmRpt>A half-measure repeat in any meter.
<tuplet>A group of notes with "irregular" (sometimes called "irrational") rhythmic values, for example, three notes in the time normally occupied by two or nine in the time of five.
(MEI.shared) Groups event elements that occur in all notational repertoires.
<chord>A simultaneous sounding of two or more notes in the same layer *with the same duration*.
<clef>Indication of the exact location of a particular note on the staff and, therefore, the other notes as well.
<clefGrp>A set of simultaneously-occurring clefs.
<note>A single pitched event.
<rest>A non-sounding event found in the source being transcribed.
<space>A placeholder used to fill an incomplete measure, layer, etc. most often so that the combined duration of the events equals the number of beats in the measure.
<tabDurSym>A visual indication of the duration of a <tabGrp>.
<tabGrp>A group of simultaneous tab notes, comparable to a <chord> in CMN. Rarely, may also contain rests, as in some "German" lute tablatures.
(MEI.shared) Groups elements that have the same function as a key signature.
(MEI.shared) Groups elements that represent a meter signature.
<bTrem>A rapid alternation on a single pitch or chord.
<beam>A container for a series of explicitly beamed events that begins and ends entirely within a measure.
<beatRpt>An indication that material on a preceding beat should be repeated.
<fTrem>A rapid alternation between a pair of notes (or chords or perhaps between a note and a chord) that are (usually) farther apart than a major second.
<graceGrp>A container for a sequence of grace notes.
<halfmRpt>A half-measure repeat in any meter.
<tuplet>A group of notes with "irregular" (sometimes called "irrational") rhythmic values, for example, three notes in the time normally occupied by two or nine in the time of five.
<chord>A simultaneous sounding of two or more notes in the same layer *with the same duration*.
<clef>Indication of the exact location of a particular note on the staff and, therefore, the other notes as well.
<clefGrp>A set of simultaneously-occurring clefs.
<note>A single pitched event.
<rest>A non-sounding event found in the source being transcribed.
<space>A placeholder used to fill an incomplete measure, layer, etc. most often so that the combined duration of the events equals the number of beats in the measure.
<tabDurSym>A visual indication of the duration of a <tabGrp>.
<tabGrp>A group of simultaneous tab notes, comparable to a <chord> in CMN. Rarely, may also contain rests, as in some "German" lute tablatures.
Constraints

A graceGrp without a copyof attribute must have at least 1 note, rest, chord, or space descendants.
The grace attribute is not allowed on descendants of a graceGrp with a grace attribute.

Declaration
<elementSpec rend="add" ident="graceGrp" module="MEI.cmn">
<gloss xml:lang="en">grace group</gloss>
<desc xml:lang="en">A container for a sequence of grace notes.</desc>
<classes>
<memberOf key="att.common"/>
<memberOf key="att.graceGrp.log"/>
<memberOf key="att.graceGrp.vis"/>
<memberOf key="model.eventLike.cmn"/>
</classes>
<content>
<zeroOrMore>
<choice>
<ref name="model.eventLike"/>
<ref name="model.eventLike.cmn"/>
<ref name="model.appLike"/>
<ref name="model.editLike"/>
</choice>
</zeroOrMore>
</content>
<constraintSpec ident="When_not_copyof_graceGrp_content" scheme="schematron">
<constraint>
<sch:rule context="mei:graceGrp[not(@copyof)]">
<sch:assert test="count(descendant::*[local-name()='note' or local-name()='rest' or local-name()='chord' or local-name()='space']) > 0">A graceGrp without a copyof attribute must have at least 1 note, rest, chord, or space descendants.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<constraintSpec ident="When_graced" scheme="schematron">
<constraint>
<sch:rule context="mei:graceGrp[@grace]">
<sch:assert test="not(descendant::mei:*[@grace])">The grace attribute is not allowed on descendants of a graceGrp with a grace attribute.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</elementSpec>