<keySig>

<keySig> (key signature) – Written key signature.
Module MEI.shared
Attributes
@accid (optional) Captures a written accidental. Value conforms to data.ACCIDENTAL.EXPLICIT . att.accidental
@copyof (optional) Points to an element of which the current element is a copy. Value conforms to data.URI . att.common.anl
@corresp (optional) Used to point to other elements that correspond to this one in a generic fashion. One or more values from data.URI , separated by spaces. att.common.anl
@facs (optional) Permits the current element to reference a facsimile surface or image zone which corresponds to it. One or more values from data.URI , separated by spaces. att.facsimile
@label (optional) Provides a name or label for an element. The value may be any string. Value of datatype string. att.commonPart
@mode (optional) Indicates major, minor, or other tonality. Value conforms to data.MODE . att.keySig.log
@n (optional) Provides a number-like designation for an element. Value conforms to token . att.common
@next (optional) Used to point to the next event(s) in a user-defined collection. One or more values from data.URI , separated by spaces. att.common.anl
@pname (optional) Contains a written pitch name. Value conforms to data.PITCHNAME . att.pitch
@prev (optional) Points to the previous event(s) in a user-defined collection. One or more values from data.URI , separated by spaces. att.common.anl
@sameas (optional) Points to an element that is the same as the current element but is not a literal copy of the current element. One or more values from data.URI , separated by spaces. att.common.anl
@sig (optional) Indicates where the key lies in the circle of fifths. Value conforms to data.KEYSIGNATURE . att.keySig.log
@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.keySig.log
@sig.showchange (optional) Determines whether cautionary accidentals should be displayed at a key change. Value conforms to data.BOOLEAN . att.keySig.vis
@synch (optional) Points to elements that are synchronous with the current element. One or more values from data.URI , separated by spaces. att.common.anl
@visible (optional) Indicates if a feature should be rendered when the notation is presented graphically or sounded when it is presented in an aural form. Value conforms to data.BOOLEAN . att.visibility
@when (optional) Indicates the point of occurrence of this feature along a time line. Its value must be the ID of a when element elsewhere in the document. Value conforms to data.URI . att.alignment
@xml:base (optional) Provides a base URI reference with which applications can resolve relative URI references into absolute URI references. Value conforms to data.URI . att.commonPart
@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 of datatype ID. att.id
Member of
Contained by
May contain
MEI.shared keyAccid
Declaration
<classes>
<memberOf key= " att.common" />
<memberOf key= " att.facsimile" />
<memberOf key= " att.keySig.anl" />
<memberOf key= " att.keySig.ges" />
<memberOf key= " att.keySig.log" />
<memberOf key= " att.keySig.vis" />
<memberOf key= " model.keySigLike" />
</classes>
<content>
<rng:zeroOrMore>
<rng:ref name= " model.keyAccidLike" />
</rng:zeroOrMore>
</content>
Remarks

This element may be used as an alternative to the key.* attributes (especially key.sig.mixed) on scoreDef and staffDef.

MEI Guidelines Version 3.0.0

MEI Elements