Logical domain attributes for staffDef.

Module

MEI.shared

Attributes

beam.group, beam.rests, clef.dis, clef.dis.place, clef.line, clef.shape, dur.default, key.sig, lines, mensur.dot, mensur.sign, mensur.slash, meter.count, meter.sym, meter.unit, modusmaior, modusminor, notationsubtype, notationtype, num.default, numbase.default, oct.default, prolatio, proport.num, proport.numbase, tempus, trans.diat, trans.semi

beam.group(optional)Provides an example of how automated beaming (including secondary beams) is to be
performed.
Value of datatype string.

beam.rests(optional)Indicates whether automatically-drawn beams should include rests shorter than a
quarter note duration.
Value conforms to data.BOOLEAN.

clef.dis(optional)Records the amount of octave displacement to be applied to the clef.
Value conforms to data.OCTAVE.DIS.

clef.dis.place(optional)Records the direction of octave displacement to be applied to the clef.
Value conforms to data.STAFFREL.basic.

clef.line(optional)Contains a default value for the position of the clef. The value must be in the range
between 1 and the number of lines on the staff. The numbering of lines starts with
the
lowest line of the staff.
Value conforms to data.CLEFLINE.

dur.default(optional)Contains a default duration in those situations when the first note, rest, chord,
etc.
in a measure does not have a duration specified.
Value conforms to data.DURATION.

key.sig(optional)Written key signature.
One or more values from data.KEYFIFTHS, separated by spaces.

lines(optional)Indicates the number of staff lines.
Value of datatype positiveInteger.

mensur.dot(optional)Determines if a dot is to be added to the base symbol.
Value conforms to data.BOOLEAN.

mensur.sign(optional)The base symbol in the mensuration sign/time signature of mensural notation.
Value conforms to data.MENSURATIONSIGN.

mensur.slash(optional)Indicates the number lines added to the mensuration sign. For example, one slash is
added for what we now call 'alla breve'.
Value of datatype positiveInteger.

meter.count(optional)Captures the number of beats in a measure, that is, the top number of the meter
signature. It must contain a decimal number or an additive expression that evaluates
to a
decimal number, such as 2+3.
Value of datatype
a string matching the following regular expression: "\d+(\.\d+)?(\s*\+\s*\d+(\.\d+)?)*"
.

meter.sym(optional)Indicates the use of a meter symbol instead of a numeric meter signature, that is,
'C'
for common time or 'C' with a slash for cut time.
Value conforms to data.METERSIGN.

meter.unit(optional)Contains the number indicating the beat unit, that is, the bottom number of the meter
signature.
Value of datatype decimal.

notationsubtype(optional)Provides any sub-classification of the notation contained or described by the element,
additional to that given by its notationtype attribute.
Value of datatype NMTOKEN.

notationtype(optional)Contains classification of the notation contained or described by the element bearing
this attribute.
Value conforms to data.NOTATIONTYPE.

num.default(optional)Along with numbase.default, describes the default duration as a ratio. num.default
is
the first value in the ratio.
Value of datatype positiveInteger.

numbase.default(optional)Along with num.default, describes the default duration as a ratio. numbase.default
is
the second value in the ratio.
Value of datatype positiveInteger.

oct.default(optional)Contains a default octave specification for use when the first note, rest, chord,
etc.
in a measure does not have an octave value specified.
Value conforms to data.OCTAVE.

proport.num(optional)Together, proport.num and proport.numbase specify a proportional change as a ratio,
e.g., 1:3. Proport.num is for the first value in the ratio.
Value of datatype positiveInteger.

proport.numbase(optional)Together, proport.num and proport.numbase specify a proportional change as a ratio,
e.g., 1:3. Proport.numbase is for the second value in the ratio.
Value of datatype positiveInteger.

trans.diat(optional)Records the amount of diatonic pitch shift, e.g., C to C♯ = 0, C to D♭ = 1, necessary
to calculate the sounded pitch from the written one.
Value of datatype decimal.

trans.semi(optional)Records the amount of pitch shift in semitones, e.g., C to C♯ = 1, C to D♭ = 1,
necessary to calculate the sounded pitch from the written one.
Value of datatype decimal.

lines(optional)Indicates the number of staff lines.
Value of datatype positiveInteger.

(MEI.shared) Used by staffDef and scoreDef to provide default values for attributes
in the logical domain related to clefs.

clef.line(optional)Contains a default value for the position of the clef. The value must be in the range
between 1 and the number of lines on the staff. The numbering of lines starts with
the
lowest line of the staff.
Value conforms to data.CLEFLINE.

clef.dis(optional)Records the amount of octave displacement to be applied to the clef.
Value conforms to data.OCTAVE.DIS.

clef.dis.place(optional)Records the direction of octave displacement to be applied to the clef.
Value conforms to data.STAFFREL.basic.

(MEI.shared) Attributes that provide a durational default value.

dur.default(optional)Contains a default duration in those situations when the first note, rest, chord,
etc.
in a measure does not have a duration specified.
Value conforms to data.DURATION.

num.default(optional)Along with numbase.default, describes the default duration as a ratio. num.default
is
the first value in the ratio.
Value of datatype positiveInteger.

numbase.default(optional)Along with num.default, describes the default duration as a ratio. numbase.default
is
the second value in the ratio.
Value of datatype positiveInteger.

(MEI.shared) Used by staffDef and scoreDef to provide default values for attributes
in the logical domain that are related to key signatures.

key.sig(optional)Written key signature.
One or more values from data.KEYFIFTHS, separated by spaces.

(MEI.shared) Used by staffDef and scoreDef to provide default values for attributes
in the logical domain related to meter signature.

meter.count(optional)Captures the number of beats in a measure, that is, the top number of the meter
signature. It must contain a decimal number or an additive expression that evaluates
to a
decimal number, such as 2+3.
Value of datatype
a string matching the following regular expression: "\d+(\.\d+)?(\s*\+\s*\d+(\.\d+)?)*"
.

meter.unit(optional)Contains the number indicating the beat unit, that is, the bottom number of the meter
signature.
Value of datatype decimal.

meter.sym(optional)Indicates the use of a meter symbol instead of a numeric meter signature, that is,
'C'
for common time or 'C' with a slash for cut time.
Value conforms to data.METERSIGN.

(MEI) Attributes that provide for classification of notation.

notationtype(optional)Contains classification of the notation contained or described by the element bearing
this attribute.
Value conforms to data.NOTATIONTYPE.

notationsubtype(optional)Provides any sub-classification of the notation contained or described by the element,
additional to that given by its notationtype attribute.
Value of datatype NMTOKEN.

(MEI.shared) Attributes that record a default value for octave.

oct.default(optional)Contains a default octave specification for use when the first note, rest, chord,
etc.
in a measure does not have an octave value specified.
Value conforms to data.OCTAVE.

(MEI.shared) Attributes that describe transposition.

trans.diat(optional)Records the amount of diatonic pitch shift, e.g., C to C♯ = 0, C to D♭ = 1, necessary
to calculate the sounded pitch from the written one.
Value of datatype decimal.

trans.semi(optional)Records the amount of pitch shift in semitones, e.g., C to C♯ = 1, C to D♭ = 1,
necessary to calculate the sounded pitch from the written one.
Value of datatype decimal.

(MEI.cmn) Logical domain attributes for staffDef in the CMN repertoire.

(MEI.cmn) Used by layerDef, staffDef, and scoreDef to provide default values for attributes
in the logical domain related to beaming.

beam.group(optional)Provides an example of how automated beaming (including secondary beams) is to be
performed.
Value of datatype string.

beam.rests(optional)Indicates whether automatically-drawn beams should include rests shorter than a
quarter note duration.
Value conforms to data.BOOLEAN.

(MEI.mensural) Logical domain attributes for staffDef in the mensural repertoire.

(MEI.mensural) Used by staffDef and scoreDef to provide default values for attributes
in the logical domain related to mensuration. The tempus, prolatio, modusmaior, and
modusminor attributes (from the att.mensural.shared class) specify the relationship
between the four principle levels of note value, i.e., the long, breve, semibreve
and minim, in mensural notation. Modusminor describes the long-breve relationship,
while tempus describes the breve-semibreve, and prolatio the semibreve-minim relationship,
respectively. Modusmaior is for the maxima-long relationship. The proport.* attributes
describe augmentation or diminution of the normal value of the notes in mensural notation.

mensur.dot(optional)Determines if a dot is to be added to the base symbol.
Value conforms to data.BOOLEAN.

mensur.sign(optional)The base symbol in the mensuration sign/time signature of mensural notation.
Value conforms to data.MENSURATIONSIGN.

mensur.slash(optional)Indicates the number lines added to the mensuration sign. For example, one slash is
added for what we now call 'alla breve'.
Value of datatype positiveInteger.

proport.num(optional)Together, proport.num and proport.numbase specify a proportional change as a ratio,
e.g., 1:3. Proport.num is for the first value in the ratio.
Value of datatype positiveInteger.

proport.numbase(optional)Together, proport.num and proport.numbase specify a proportional change as a ratio,
e.g., 1:3. Proport.numbase is for the second value in the ratio.
Value of datatype positiveInteger.

(MEI.mensural) Shared attributes in the mensural repertoire.

Data type definitions.

notationsubtype(optional)Provides any sub-classification of the notation contained or described by the element,
additional to that given by its notationtype attribute.
Value of datatype NMTOKEN.

notationtype(optional)Contains classification of the notation contained or described by the element bearing
this attribute.
Value conforms to data.NOTATIONTYPE.

Common Music Notation (CMN) repertoire component declarations.

beam.group(optional)Provides an example of how automated beaming (including secondary beams) is to be
performed.
Value of datatype string.

beam.rests(optional)Indicates whether automatically-drawn beams should include rests shorter than a
quarter note duration.
Value conforms to data.BOOLEAN.

Mensural repertoire component declarations.

mensur.dot(optional)Determines if a dot is to be added to the base symbol.
Value conforms to data.BOOLEAN.

mensur.sign(optional)The base symbol in the mensuration sign/time signature of mensural notation.
Value conforms to data.MENSURATIONSIGN.

mensur.slash(optional)Indicates the number lines added to the mensuration sign. For example, one slash is
added for what we now call 'alla breve'.
Value of datatype positiveInteger.

proport.num(optional)Together, proport.num and proport.numbase specify a proportional change as a ratio,
e.g., 1:3. Proport.num is for the first value in the ratio.
Value of datatype positiveInteger.

proport.numbase(optional)Together, proport.num and proport.numbase specify a proportional change as a ratio,
e.g., 1:3. Proport.numbase is for the second value in the ratio.
Value of datatype positiveInteger.

Component declarations that are shared between two or more modules.

clef.dis(optional)Records the amount of octave displacement to be applied to the clef.
Value conforms to data.OCTAVE.DIS.

clef.dis.place(optional)Records the direction of octave displacement to be applied to the clef.
Value conforms to data.STAFFREL.basic.

clef.line(optional)Contains a default value for the position of the clef. The value must be in the range
between 1 and the number of lines on the staff. The numbering of lines starts with
the
lowest line of the staff.
Value conforms to data.CLEFLINE.

dur.default(optional)Contains a default duration in those situations when the first note, rest, chord,
etc.
in a measure does not have a duration specified.
Value conforms to data.DURATION.

key.sig(optional)Written key signature.
One or more values from data.KEYFIFTHS, separated by spaces.

lines(optional)Indicates the number of staff lines.
Value of datatype positiveInteger.

meter.count(optional)Captures the number of beats in a measure, that is, the top number of the meter
signature. It must contain a decimal number or an additive expression that evaluates
to a
decimal number, such as 2+3.
Value of datatype
a string matching the following regular expression: "\d+(\.\d+)?(\s*\+\s*\d+(\.\d+)?)*"
.

meter.sym(optional)Indicates the use of a meter symbol instead of a numeric meter signature, that is,
'C'
for common time or 'C' with a slash for cut time.
Value conforms to data.METERSIGN.

meter.unit(optional)Contains the number indicating the beat unit, that is, the bottom number of the meter
signature.
Value of datatype decimal.

num.default(optional)Along with numbase.default, describes the default duration as a ratio. num.default
is
the first value in the ratio.
Value of datatype positiveInteger.

numbase.default(optional)Along with num.default, describes the default duration as a ratio. numbase.default
is
the second value in the ratio.
Value of datatype positiveInteger.

trans.diat(optional)Records the amount of diatonic pitch shift, e.g., C to C♯ = 0, C to D♭ = 1, necessary
to calculate the sounded pitch from the written one.
Value of datatype decimal.

trans.semi(optional)Records the amount of pitch shift in semitones, e.g., C to C♯ = 1, C to D♭ = 1,
necessary to calculate the sounded pitch from the written one.
Value of datatype decimal.

Available at

Declaration

```
<classSpec ident="att.staffDef.log" module="MEI.shared" type="atts">
<desc>Logical domain attributes for staffDef.</desc>
<classes>
<memberOf
key="att.cleffing.log"/>
<memberOf
key="att.duration.default"/>
<memberOf
key="att.keySigDefault.log"/>
<memberOf
key="att.meterSigDefault.log"/>
<memberOf
key="att.notationType"/>
<memberOf
key="att.octaveDefault"/>
<memberOf
key="att.transposition"/>
<memberOf
key="att.staffDef.log.cmn"/>
<memberOf
key="att.staffDef.log.mensural"/>
</classes>
<attList org="group">
<attDef ident="lines" usage="opt">
<desc>Indicates the number of staff lines.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:data type="positiveInteger"/>
</datatype>
</attDef>
</attList>
</classSpec>
```