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 att.scoreDef.log [scoreDef] att.staffDef.log [staffDef]
key.accid 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.
Status Optional
key.mode indicates major, minor, or other tonality.
Status Optional
Datatype data.MODE
key.pname holds the pitch name of the tonic key, e.g. 'c' for the key of C.
Status Optional
Datatype data.PITCHNAME
key.sig indicates where the key lies in the circle of fifths.
Status Optional
Datatype data.KEYSIGNATURE
key.sig.mixed 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 Cs5 Ef5' that indicate what key accidentals should be rendered and where they should be placed.
Status Optional
Datatype list { token { pattern = "[a-g][0-9](\-{1,3}|f{1,3}|#{1,3}|s{1,3}|x)" }+ }

MEI Guidelines Version 2.1.1

Attribute Classes