att.partIdent

Attributes for identifying the part in which the current feature appears.
Module
MEI.shared
Attributes
part, partstaff
part(optional)Indicates the part in which the current feature should appear. Use '%all' when the feature should occur in every part. One or more values of datatype a string matching the following regular expression: "(%all|#[\i][\c]+)" , separated by spaces.
partstaff(optional)Signifies the part staff on which a notated feature occurs. Use '%all' when the feature should occur on every staff. One or more values of datatype a string matching the following regular expression: "(%all|\d+(-\d+)?)" , separated by spaces.
part(optional)Indicates the part in which the current feature should appear. Use '%all' when the feature should occur in every part. One or more values of datatype a string matching the following regular expression: "(%all|#[\i][\c]+)" , separated by spaces.
partstaff(optional)Signifies the part staff on which a notated feature occurs. Use '%all' when the feature should occur on every staff. One or more values of datatype a string matching the following regular expression: "(%all|\d+(-\d+)?)" , separated by spaces.
Component declarations that are shared between two or more modules.
part(optional)Indicates the part in which the current feature should appear. Use '%all' when the feature should occur in every part. One or more values of datatype a string matching the following regular expression: "(%all|#[\i][\c]+)" , separated by spaces.
partstaff(optional)Signifies the part staff on which a notated feature occurs. Use '%all' when the feature should occur on every staff. One or more values of datatype a string matching the following regular expression: "(%all|\d+(-\d+)?)" , separated by spaces.
Available at
breath(breath mark) – An indication of a point at which the performer on an instrument requiring breath (including the voice) may breathe.
reh(rehearsal mark) – In an orchestral score and its corresponding parts, a mark indicating a convenient point from which to resume rehearsal after a break.
lg(line group) – May be used for any section of text that is organized as a group of lines; however, it is most often used for a group of verse lines functioning as a formal unit, e.g. a stanza, refrain, verse paragraph, etc.
cc(control change) – MIDI parameter/control change.
chan(channel) – MIDI channel assignment.
chanPr(channel pressure) – MIDI channel pressure/after touch.
cueMIDI cue point.
hexArbitrary MIDI data in hexadecimal form.
markerMIDI marker meta-event.
metaTextMIDI text meta-event.
noteOffMIDI note-off event.
noteOnMIDI note-on event.
portMIDI port.
prog(program) – MIDI program change.
seqNum(sequence number) – MIDI sequence number.
trkName(track name) – MIDI track/sequence name.
vel(velocity) – MIDI Note-on/off velocity.
midiContainer for elements that contain information useful when generating MIDI output.
signifLetSignificantive letter(s).
annot(annotation) – Provides a statement explaining the text or indicating the basis for an assertion.
caesuraBreak, pause, or interruption in the normal tempo of a composition. Typically indicated by "railroad tracks", i.e., two diagonal slashes.
arpeg(arpeggiation) – Indicates that the notes of a chord are to be performed successively rather than simultaneously, usually from lowest to highest. Sometimes called a "roll".
beamSpan(beam span) – Alternative element for explicitly encoding beams, particularly those which extend across bar lines.
bendA variation in pitch (often micro-tonal) upwards or downwards during the course of a note.
bracketSpanMarks a sequence of notational events grouped by a bracket.
fermataAn 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(glissando) – A continuous or sliding movement from one pitch to another, usually indicated by a straight or wavy line.
hairpinIndicates continuous dynamics expressed on the score as wedge-shaped graphics, e.g. < and >.
harpPedal(harp pedal) – Harp pedal diagram.
lv(laissez vibrer) – A "tie-like" indication that a note should ring beyond its written duration.
octaveAn indication that a passage should be performed one or more octaves above or below its written pitch.
pedalPiano pedal mark.
slurIndication of 1) a "unified melodic idea" or 2) performance technique.
tieAn indication that two notes of the same pitch form a single note with their combined rhythmic values.
tupletSpan(tuplet span) – Alternative element for encoding tuplets, especially useful for tuplets that extend across bar lines.
mordentAn ornament indicating rapid alternation of the main note with a secondary note, usually a step below, but sometimes a step above.
trillRapid alternation of a note with another (usually at the interval of a second above).
turnAn ornament consisting of four notes — the upper neighbor of the written note, the written note, the lower neighbor, and the written note.
sp(speech) – Contains an individual speech in a performance text.
stageDir(stage direction) – Contains any kind of stage direction within a dramatic text or fragment.
cpMark(copy/colla parte mark) – A verbal or graphical indication to copy musical material written elsewhere.
metaMarkA graphical or textual statement with additional / explanatory information about the musical text. The textual consequences of this intervention are encoded independently via other means; that is, with elements such as <add>, <del>, etc.
fingfinger – An individual finger in a fingering indication.
fingGrp(finger group)– A group of individual fingers in a fingering indication.
f(figure) – Single element of a figured bass indication.
harm(harmony) – An indication of harmony, e.g., chord names, tablature grids, harmonic analysis, figured bass.
accid(accidental) – Records a temporary alteration to the pitch of a note.
artic(articulation) – An indication of how to play a note or chord.
attaccaAn instruction to begin the next section or movement of a composition without pause.
dir(directive) – An instruction expressed as a combination of text and symbols — such as segno and coda symbols, fermatas over a bar line, etc., typically above, below, or between staves, but not on the staff — that is not encoded elsewhere in more specific elements, like tempo or dynam.
dotDot of augmentation or division.
dynam(dynamic) – Indication of the volume of a note, phrase, or section of music.
ornamAn element indicating an ornament that is not a mordent, turn, or trill.
phraseIndication of 1) a "unified melodic idea" or 2) performance technique.
tempoText and symbols descriptive of tempo, mood, or style, e.g., "allarg.", "a tempo", "cantabile", "Moderato", "♩=60", "Moderato ♩ =60").
lineA visual line that cannot be represented by a more specific; i.e., semantic, element.
Common Music Notation (CMN) repertoire component declarations.
arpeg(arpeggiation) – Indicates that the notes of a chord are to be performed successively rather than simultaneously, usually from lowest to highest. Sometimes called a "roll".
attaccaAn instruction to begin the next section or movement of a composition without pause.
beamSpan(beam span) – Alternative element for explicitly encoding beams, particularly those which extend across bar lines.
bendA variation in pitch (often micro-tonal) upwards or downwards during the course of a note.
bracketSpanMarks a sequence of notational events grouped by a bracket.
breath(breath mark) – An indication of a point at which the performer on an instrument requiring breath (including the voice) may breathe.
fermataAn 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(glissando) – A continuous or sliding movement from one pitch to another, usually indicated by a straight or wavy line.
hairpinIndicates continuous dynamics expressed on the score as wedge-shaped graphics, e.g. < and >.
harpPedal(harp pedal) – Harp pedal diagram.
lv(laissez vibrer) – A "tie-like" indication that a note should ring beyond its written duration.
octaveAn indication that a passage should be performed one or more octaves above or below its written pitch.
pedalPiano pedal mark.
reh(rehearsal mark) – In an orchestral score and its corresponding parts, a mark indicating a convenient point from which to resume rehearsal after a break.
slurIndication of 1) a "unified melodic idea" or 2) performance technique.
tieAn indication that two notes of the same pitch form a single note with their combined rhythmic values.
tupletSpan(tuplet span) – Alternative element for encoding tuplets, especially useful for tuplets that extend across bar lines.
CMN ornament component declarations.
mordentAn ornament indicating rapid alternation of the main note with a secondary note, usually a step below, but sometimes a step above.
trillRapid alternation of a note with another (usually at the interval of a second above).
turnAn ornament consisting of four notes — the upper neighbor of the written note, the written note, the lower neighbor, and the written note.
Dramatic text component declarations.
sp(speech) – Contains an individual speech in a performance text.
stageDir(stage direction) – Contains any kind of stage direction within a dramatic text or fragment.
Editorial and transcriptional component declarations.
cpMark(copy/colla parte mark) – A verbal or graphical indication to copy musical material written elsewhere.
metaMarkA graphical or textual statement with additional / explanatory information about the musical text. The textual consequences of this intervention are encoded independently via other means; that is, with elements such as <add>, <del>, etc.
Fingering component declarations.
fingfinger – An individual finger in a fingering indication.
fingGrp(finger group)– A group of individual fingers in a fingering indication.
Harmony component declarations.
f(figure) – Single element of a figured bass indication.
harm(harmony) – An indication of harmony, e.g., chord names, tablature grids, harmonic analysis, figured bass.
MIDI component declarations.
cc(control change) – MIDI parameter/control change.
chan(channel) – MIDI channel assignment.
chanPr(channel pressure) – MIDI channel pressure/after touch.
cueMIDI cue point.
hexArbitrary MIDI data in hexadecimal form.
markerMIDI marker meta-event.
metaTextMIDI text meta-event.
midiContainer for elements that contain information useful when generating MIDI output.
noteOffMIDI note-off event.
noteOnMIDI note-on event.
portMIDI port.
prog(program) – MIDI program change.
seqNum(sequence number) – MIDI sequence number.
trkName(track name) – MIDI track/sequence name.
vel(velocity) – MIDI Note-on/off velocity.
Neume repertoire component declarations.
episemaEpisema.
hispanTickHispanic tick.
signifLetSignificantive letter(s).
Component declarations that are shared between two or more modules.
accid(accidental) – Records a temporary alteration to the pitch of a note.
annot(annotation) – Provides a statement explaining the text or indicating the basis for an assertion.
artic(articulation) – An indication of how to play a note or chord.
caesuraBreak, pause, or interruption in the normal tempo of a composition. Typically indicated by "railroad tracks", i.e., two diagonal slashes.
dir(directive) – An instruction expressed as a combination of text and symbols — such as segno and coda symbols, fermatas over a bar line, etc., typically above, below, or between staves, but not on the staff — that is not encoded elsewhere in more specific elements, like tempo or dynam.
dotDot of augmentation or division.
dynam(dynamic) – Indication of the volume of a note, phrase, or section of music.
lg(line group) – May be used for any section of text that is organized as a group of lines; however, it is most often used for a group of verse lines functioning as a formal unit, e.g. a stanza, refrain, verse paragraph, etc.
ornamAn element indicating an ornament that is not a mordent, turn, or trill.
phraseIndication of 1) a "unified melodic idea" or 2) performance technique.
tempoText and symbols descriptive of tempo, mood, or style, e.g., "allarg.", "a tempo", "cantabile", "Moderato", "♩=60", "Moderato ♩ =60").
User-defined symbols component declarations.
lineA visual line that cannot be represented by a more specific; i.e., semantic, element.
Constraints

'%all' cannot be mixed with other values.
'%all' cannot be mixed with other values.

Declaration
<classSpec ident="att.partIdent" module="MEI.shared" type="atts">
<desc>Attributes for identifying the part in which the current feature appears.</desc>
<attList>
<attDef ident="part" usage="opt">
<desc>Indicates the part in which the current feature should appear. Use '%all' when the feature should occur in every part.</desc>
<datatype maxOccurs="unbounded">
<rng:data type="token">
<rng:param name="pattern">(%all|#[\i][\c]+)</rng:param>
</rng:data>
</datatype>
<constraintSpec ident="check_part_attr_all" scheme="schematron">
<constraint>
<sch:rule context="@part[some $i in tokenize(., '\s+') satisfies (matches($i, '^%all$'))]">
<sch:assert test="count(tokenize(., '\s+')) = 1">'%all' cannot be mixed with other values.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
<attDef ident="partstaff" usage="opt">
<desc>Signifies the part staff on which a notated feature occurs. Use '%all' when the feature should occur on every staff.</desc>
<datatype maxOccurs="unbounded">
<rng:data type="token">
<rng:param name="pattern">(%all|\d+(-\d+)?)</rng:param>
</rng:data>
</datatype>
<constraintSpec ident="check_partstaff_attr_all" scheme="schematron">
<constraint>
<sch:rule context="@partstaff[some $i in tokenize(., '\s+') satisfies (matches($i, '^%all$'))]">
<sch:assert test="count(tokenize(., '\s+')) = 1">'%all' cannot be mixed with other values.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
</attList>
</classSpec>