att.keySigDefault.log

Used by staffDef and scoreDef to provide default values for attributes in the logical domain related to key signatures.
Module MEI.shared
Members
Attributes
@key.accid(optional)Contains an accidental for the tonic key, if one is required, e.g., if key.pname equals 'c' and key.accid equals 's', then a tonic of C# is indicated. Value conforms to data.ACCIDENTAL.IMPLICIT. att.keySigDefault.log
@key.mode(optional)Indicates major, minor, or other tonality. Value conforms to data.MODE. att.keySigDefault.log
@key.pname(optional)Holds the pitch name of the tonic key, e.g. 'c' for the key of C. Value conforms to data.PITCHNAME. att.keySigDefault.log
@key.sig(optional)Indicates where the key lies in the circle of fifths. Value conforms to data.KEYSIGNATURE. att.keySigDefault.log
@key.sig.mixed(optional)Mixed key signatures, e.g. those consisting of a mixture of flats and sharps (Read, p. 143, ex. 9-39), and key signatures with unorthodox placement of the accidentals (Read, p. 141) must be indicated by setting the key.sig attribute to 'mixed' and providing explicit key signature information in the key.sig.mixed attribute or in the <keySig> element. It is intended that key.sig.mixed contain a series of tokens with each token containing pitch name, accidental, and octave, such as 'a4 c5s e5f' that indicate what key accidentals should be rendered and where they should be placed. One or more values from data.KEYSIGTOKEN, separated by spaces. att.keySigDefault.log
Declaration
<attDef ident="key.accid" usage="opt">
<desc>Contains an accidental for the tonic key, if one is required, e.g., if key.pname equals 'c' and key.accid equals 's', then a tonic of C# is indicated.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.ACCIDENTAL.IMPLICIT" />
</datatype>
</attDef>
<attDef ident="key.mode" usage="opt">
<desc>Indicates major, minor, or other tonality.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.MODE" />
</datatype>
</attDef>
<attDef ident="key.pname" usage="opt">
<desc>Holds the pitch name of the tonic key, e.g. 'c' for the key of C.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.PITCHNAME" />
</datatype>
</attDef>
<attDef ident="key.sig" usage="opt">
<desc>Indicates where the key lies in the circle of fifths.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.KEYSIGNATURE" />
</datatype>
</attDef>
<attDef ident="key.sig.mixed" usage="opt">
<desc>Mixed key signatures, e.g. those consisting of a mixture of flats and sharps (Read, p. 143, ex. 9-39), and key signatures with unorthodox placement of the accidentals (Read, p. 141) must be indicated by setting the key.sig attribute to 'mixed' and providing explicit key signature information in the key.sig.mixed attribute or in the <keySig> element. It is intended that key.sig.mixed contain a series of tokens with each token containing pitch name, accidental, and octave, such as 'a4 c5s e5f' that indicate what key accidentals should be rendered and where they should be placed.</desc>
<datatype maxOccurs="unbounded" minOccurs="1">
<rng:ref name="data.KEYSIGTOKEN" />
</datatype>
</attDef>