mei:keySig

(key signature) – Written key signature.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
accid mei:mei_data.ACCIDENTAL.EXPLICIT optional
Captures a written accidental.
copyof mei:mei_data.URI optional
Points to an element of which the current element is a
copy.
corresp restriction of list of mei:mei_data.URI optional
Used to point to other elements that correspond to this one in a generic
fashion.
facs restriction of list of mei:mei_data.URI optional
Permits the current element to reference a facsimile surface or image zone
which corresponds to it.
label xs:string optional
Provides a name or label for an element. The value may be any
string.
mode mei:mei_data.MODE optional
Indicates major, minor, or other tonality.
n optional
Provides a number-like designation for an element.
next restriction of list of mei:mei_data.URI optional
Used to point to the next event(s) in a user-defined
collection.
pname mei:mei_data.PITCHNAME optional
Contains a written pitch name.
prev restriction of list of mei:mei_data.URI optional
Points to the previous event(s) in a user-defined
collection.
sameas restriction of list of mei:mei_data.URI optional
Points to an element that is the same as the current element but is not a
literal copy of the current element.
sig mei:mei_data.KEYSIGNATURE optional
Indicates where the key lies in the circle of fifths.
sig.mixed restriction of list of mei:mei_data.KEYSIGTOKEN 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.
sig.showchange mei:mei_data.BOOLEAN optional
Determines whether cautionary accidentals should be displayed at a key
change.
synch restriction of list of mei:mei_data.URI optional
Points to elements that are synchronous with the current
element.
visible mei:mei_data.BOOLEAN optional
Indicates if a feature should be rendered when the notation is presented
graphically or sounded when it is presented in an aural form.
when mei:mei_data.URI 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.
xml:base mei:mei_data.URI optional
Provides a base URI reference with which applications can resolve relative
URI references into absolute URI references.
xml:id xs: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.

Used By

Source

<xs:element name="keySig">
  <xs:annotation>
    <xs:documentation>(key signature) – Written key signature.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="mei:mei_model.keyAccidLike"/>
    </xs:sequence>
    <xs:attributeGroup ref="mei:mei_att.common.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.facsimile.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.keySig.anl.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.keySig.log.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.keySig.vis.attributes"/>
  </xs:complexType>
</xs:element>

Sample