<scoreDef>

<scoreDef> (score definition) – Container for score meta-information.
Module MEI.shared
Attributes
@barplace (optional) Records the location of a bar line. Value conforms to data.BARPLACE . att.barplacement
@beam.color (optional) Color of beams, including those associated with tuplets. Value conforms to data.COLOR . att.beaming.vis
@beam.group (optional) Provides an example of how automated beaming (including secondary beams) is to be performed. Value of datatype string. att.beaming.log
@beam.rend (optional) Encodes whether a beam is "feathered" and in which direction. Allowed values are: " acc" (Beam lines grow farther apart from left to right.), " rit" (Beam lines grow closer together from left to right.), " norm" (Beam lines are equally-spaced over the entire length of the beam.) att.beaming.vis
@beam.rests (optional) Indicates whether automatically-drawn beams should include rests shorter than a quarter note duration. Value conforms to data.BOOLEAN . att.beaming.log
@beam.slope (optional) Captures beam slope. Value of datatype decimal. att.beaming.vis
@clef.color (optional) Describes the color of the clef. Value conforms to data.COLOR . att.cleffing.vis
@clef.dis (optional) Records the amount of octave displacement to be applied to the clef. Value conforms to data.OCTAVE.DIS . att.cleffing.log
@clef.dis.place (optional) Records the direction of octave displacement to be applied to the clef. Value conforms to data.PLACE . att.cleffing.log
@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 . att.cleffing.log
@clef.shape (optional) Encodes a value for the clef symbol. Value conforms to data.CLEFSHAPE . att.cleffing.log
@clef.visible (optional) Determines whether the clef is to be displayed. Value conforms to data.BOOLEAN . att.cleffing.vis
@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 . att.duration.default
@dynam.dist (optional) Records the default distance from the staff for dynamic marks. Value conforms to data.MEASUREMENTREL . att.distances
@ending.rend (optional) Describes where ending marks should be displayed. Allowed values are: " top" (Ending rendered only above top staff.), " barred" (Ending rendered above staves that have bar lines drawn across them.), " grouped" (Endings rendered above staff groups.) att.endings
@grid.show (optional) Determines whether to display guitar chord grids. Value conforms to data.BOOLEAN . att.scoreDef.vis.cmn
@harm.dist (optional) Records the default distance from the staff of harmonic indications, such as guitar chord grids or functional labels. Value conforms to data.MEASUREMENTREL . att.distances
@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
@key.sig.show (optional) Indicates whether the key signature should be displayed. Value conforms to data.BOOLEAN . att.keySigDefault.vis
@key.sig.showchange (optional) Determines whether cautionary accidentals should be displayed at a key change. Value conforms to data.BOOLEAN . att.keySigDefault.vis
@label (optional) Provides a name or label for an element. The value may be any string. Value of datatype string. att.commonPart
@lyric.align (optional) Describes the alignment of lyric syllables associated with a note or chord. Value conforms to data.MEASUREMENTREL . att.lyricstyle
@lyric.fam (optional) Sets the font family default value for lyrics. Value conforms to data.FONTFAMILY . att.lyricstyle
@lyric.name (optional) Sets the font name default value for lyrics. Value conforms to data.FONTNAME . att.lyricstyle
@lyric.size (optional) Sets the default font size value for lyrics. Value conforms to data.FONTSIZE . att.lyricstyle
@lyric.style (optional) Sets the default font style value for lyrics. Value conforms to data.FONTSTYLE . att.lyricstyle
@lyric.weight (optional) Sets the default font weight value for lyrics. Value conforms to data.FONTWEIGHT . att.lyricstyle
@mensur.color (optional) Records the color of the mensuration sign. Do not confuse this with the musical term 'color' as used in pre-CMN notation. Value conforms to data.COLOR . att.mensural.vis
@mensur.dot (optional) Determines if a dot is to be added to the base symbol. Value conforms to data.BOOLEAN . att.mensural.log
@mensur.form (optional) Indicates whether the base symbol is written vertically or horizontally. Allowed values are: " horizontal" , " vertical" att.mensural.vis
@mensur.loc (optional) Holds the staff location of the mensuration sign. Value conforms to data.STAFFLOC . att.mensural.vis
@mensur.orient (optional) Describes the rotation or reflection of the base symbol. Value conforms to data.ORIENTATION . att.mensural.vis
@mensur.sign (optional) The base symbol in the mensuration sign/time signature of mensural notation. Value conforms to data.MENSURATIONSIGN . att.mensural.log
@mensur.size (optional) Describes the relative size of the mensuration sign. Value conforms to data.SIZE . att.mensural.vis
@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. att.mensural.log
@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+)?)*" . att.meterSigDefault.log
@meter.rend (optional) Contains an indication of how the meter signature should be rendered. Allowed values are: " num" (Show only the number of beats.), " denomsym" (The lower number in the meter signature is replaced by a note symbol.), " norm" (Meter signature rendered using traditional numeric values.), " invis" (Meter signature not rendered.) att.meterSigDefault.vis
@meter.showchange (optional) Determines whether a new meter signature should be displayed when the meter signature changes. Value conforms to data.BOOLEAN . att.meterSigDefault.vis
@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 . att.meterSigDefault.vis
@meter.unit (optional) Contains the number indicating the beat unit, that is, the bottom number of the meter signature. Value of datatype decimal. att.meterSigDefault.log
@midi.bpm (optional) Captures the number of *quarter notes* per minute. In MIDI, a beat is always defined as a quarter note, *not the numerator of the time signature or the metronomic indication*. Value conforms to data.MIDIBPM . att.miditempo
@midi.channel (optional) Records a MIDI channel value. Value conforms to data.MIDICHANNEL . att.channelized
@midi.duty (optional) Specifies the 'on' part of the duty cycle as a percentage of a note's duration. Value conforms to data.PERCENT . att.channelized
@midi.mspb (optional) Records the number of microseconds per *quarter note*. In MIDI, a beat is always defined as a quarter note, *not the numerator of the time signature or the metronomic indication*. At 120 quarter notes per minute, each quarter note will last 500,000 microseconds. Value conforms to data.MIDIMSPB . att.miditempo
@midi.port (optional) Sets the MIDI port value. Value conforms to data.MIDIVALUE . att.channelized
@midi.track (optional) Sets the MIDI track. Value of datatype positiveInteger. att.channelized
@mm (optional) Used to describe tempo in terms of beats (often the meter signature denominator) per minute, ala M.M. (Maezel's Metronome). Do not confuse this attribute with midi.bpm or midi.mspb. In MIDI, a beat is always defined as a quarter note, *not the numerator of the time signature or the metronomic indication*. Value conforms to data.TEMPOVALUE . att.mmtempo
@mm.dots (optional) Records the number of augmentation dots required by a dotted metronome unit. Value conforms to data.AUGMENTDOT . att.mmtempo
@mm.unit (optional) Captures the metronomic unit. Value conforms to data.DURATION . att.mmtempo
@mnum.visible (optional) Indicates whether measure numbers should be displayed. Value conforms to data.BOOLEAN . att.measurenumbers
@modusmaior (optional) Describes the maxima-long relationship. Value conforms to data.MODUSMAIOR . att.mensural.shared
@modusminor (optional) Describes the long-breve relationship. Value conforms to data.MODUSMINOR . att.mensural.shared
@multi.number (optional) Indicates whether programmatically calculated counts of multiple measures of rest (mRest) and whole measure repeats (mRpt) in parts should be rendered. Value conforms to data.BOOLEAN . att.multinummeasures
@music.name (optional) Sets the default music font name. Value conforms to data.MUSICFONT . att.notationstyle
@music.size (optional) Sets the default music font size. Value conforms to data.FONTSIZE . att.notationstyle
@n (optional) Provides a number-like designation for an element. Value conforms to token . att.common
@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. att.duration.default
@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. att.duration.default
@octave.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 . att.octavedefault
@ontheline (optional) Determines the placement of notes on a 1-line staff. A value of 'true' places all notes on the line, while a value of 'false' places stems-up notes above the line and stems-down notes below the line. Value conforms to data.BOOLEAN . att.onelinestaff
@optimize (optional) Indicates whether staves without notes, rests, etc. should be displayed. When the value is 'true', empty staves are displayed. Value conforms to data.BOOLEAN . att.optimization
@page.botmar (optional) Indicates the amount of whitespace at the bottom of a page. Value conforms to data.MEASUREMENTABS . att.pages
@page.height (optional) Specifies the height of the page; may be expressed in real-world units or staff steps. Value conforms to data.MEASUREMENTABS . att.pages
@page.leftmar (optional) Indicates the amount of whitespace at the left side of a page. Value conforms to data.MEASUREMENTABS . att.pages
@page.panels (optional) Indicates the number of logical pages to be rendered on a single physical page. Value conforms to data.PAGE.PANELS . att.pages
@page.rightmar (optional) Indicates the amount of whitespace at the right side of a page. Value conforms to data.MEASUREMENTABS . att.pages
@page.scale (optional) Indicates how the page should be scaled when rendered. Value conforms to data.PGSCALE . att.pages
@page.topmar (optional) Indicates the amount of whitespace at the top of a page. Value conforms to data.MEASUREMENTABS . att.pages
@page.width (optional) Describes the width of the page; may be expressed in real-world units or staff steps. Value conforms to data.MEASUREMENTABS . att.pages
@pedal.style (optional) Determines whether piano pedal marks should be rendered as lines or as terms. Allowed values are: " line" (Continuous line with start and end positions rendered by vertical bars and bounces shown by upward-pointing "blips".) , " pedstar" (Pedal down and half pedal rendered with "Ped.", pedal up rendered by "*", pedal "bounce" rendered with "* Ped.".) , " altpedstar" (Pedal up and down indications same as with "pedstar", but bounce is rendered with "Ped." only.) att.pianopedals
@ppq (optional) Indicates the number of pulses (sometimes referred to as ticks or divisions) per quarter note. Unlike MIDI, MEI permits different values for a score and individual staves. Value of datatype positiveInteger. att.timebase
@prolatio (optional) Describes the semibreve-minim relationship. Value conforms to data.PROLATIO . att.mensural.shared
@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. att.mensural.log
@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. att.mensural.log
@reh.enclose (optional) Describes the enclosing shape for rehearsal marks. Allowed values are: " box" (Enclosed by box.), " circle" (Enclosed by circle.), " none" (No enclosing shape.) att.rehearsal
@slur.lform (optional) Value conforms to data.LINEFORM . att.slurrend
@slur.lwidth (optional) Value conforms to data.LINEWIDTH . att.slurrend
@spacing.packexp (optional) Describes a note's spacing relative to its time value. Value of datatype decimal. att.spacing
@spacing.packfact (optional) Describes the note spacing of output. Value of datatype decimal. att.spacing
@spacing.staff (optional) Specifies the minimum amount of space between adjacent staves in the same system; measured from the bottom line of the staff above to the top line of the staff below. Value conforms to data.MEASUREMENTREL . att.spacing
@spacing.system (optional) Describes the space between adjacent systems; a pair of space-separated values (minimum and maximum, respectively) provides a range between which a rendering system-supplied value may fall, while a single value indicates a fixed amount of space; that is, the minimum and maximum values are equal. One or two values from data.MEASUREMENTREL , separated by a space. att.spacing
@system.leftline (optional) Indicates whether the staves are joined at the left by a continuous line. The default value is "true". Do not confuse this with the heavy vertical line used as a grouping symbol. Value conforms to data.BOOLEAN . att.systems
@system.leftmar (optional) Describes the amount of whitespace at the left system margin relative to page.leftmar. Value conforms to data.MEASUREMENTABS . att.systems
@system.rightmar (optional) Describes the amount of whitespace at the right system margin relative to page.rightmar. Value conforms to data.MEASUREMENTABS . att.systems
@system.topmar (optional) Describes the distance from page's top edge to the first system; used for first page only. Value conforms to data.MEASUREMENTABS . att.systems
@taktplace (optional) If takt bar lines are to be used, then the taktplace attribute may be used to denote the staff location of the shortened bar line. The location may include staff lines, spaces, and the spaces directly above and below the staff. The value ranges between 0 (just below the staff) to 2 * number of staff lines (directly above the staff). For example, on a 5-line staff the lines would be numbered 1,3,5,7, and 9 while the spaces would be numbered 0,2,4,6,8,10. For example, a value of '9' puts the bar line through the top line of a 5-line staff. Value conforms to data.STAFFLOC . att.barplacement
@tempus (optional) Describes the breve-semibreve relationship. Value conforms to data.TEMPUS . att.mensural.shared
@text.dist (optional) Determines how far from the staff to render text elements. Value conforms to data.MEASUREMENTREL . att.distances
@text.fam (optional) Provides a default value for the font family name of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTFAMILY . att.textstyle
@text.name (optional) Provides a default value for the font name of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTNAME . att.textstyle
@text.size (optional) Provides a default value for the font size of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTSIZE . att.textstyle
@text.style (optional) Provides a default value for the font style of text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTSTYLE . att.textstyle
@text.weight (optional) Provides a default value for the font weight for text (other than lyrics) when this information is not provided on the individual elements. Value conforms to data.FONTWEIGHT . att.textstyle
@tie.lform (optional) Value conforms to data.LINEFORM . att.tierend
@tie.lwidth (optional) Value conforms to data.LINEWIDTH . att.tierend
@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. att.transposition
@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. att.transposition
@tune.Hz (optional) Holds a value for cycles per second, i.e., Hertz, for a tuning reference pitch. Value of datatype decimal. att.scoreDef.ges
@tune.pname (optional) Holds the pitch name of a tuning reference pitch. Value conforms to data.PITCHNAME . att.scoreDef.ges
@tune.temper (optional) Provides an indication of the tuning system, 'just', for example. Value conforms to data.TEMPERAMENT . att.scoreDef.ges
@vu.height (optional) Defines the height of a "virtual unit" (vu) in terms of real-world units. A single vu is half the distance between the vertical center point of a staff line and that of an adjacent staff line. Value of datatype a string matching the following regular expression: "\d+(\.\d+)?(cm|mm|in|pt|pc)" . att.scoreDef.vis
@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
MEI.critapp lem rdg
MEI.mensural ligature
MEI.neumes syllable
May contain
MEI.harmony chordTable
MEI.midi instrGrp
MEI.usersymbols symbolTable
Declaration
<classes>
<memberOf key= " att.common" />
<memberOf key= " att.scoreDef.log" />
<memberOf key= " att.scoreDef.vis" />
<memberOf key= " att.scoreDef.ges" />
<memberOf key= " att.scoreDef.anl" />
<memberOf key= " model.scoreDefLike" />
</classes>
<content>
<rng:optional>
<rng:ref name= " model.chordTableLike" />
</rng:optional>
<rng:optional>
<rng:ref name= " model.symbolTableLike" />
</rng:optional>
<rng:optional>
<rng:ref name= " model.keySigLike" />
</rng:optional>
<rng:optional>
<rng:ref name= " model.meterSigLike" />
</rng:optional>
<rng:optional>
<rng:ref name= " pgHead" />
</rng:optional>
<rng:optional>
<rng:ref name= " pgHead2" />
</rng:optional>
<rng:optional>
<rng:ref name= " pgFoot" />
</rng:optional>
<rng:optional>
<rng:ref name= " pgFoot2" />
</rng:optional>
<rng:optional>
<rng:ref name= " instrGrp" />
</rng:optional>
<rng:choice>
<rng:optional>
<rng:ref name= " model.staffGrpLike" />
</rng:optional>
</rng:choice>
<rng:zeroOrMore>
<rng:ref name= " grpSym" />
</rng:zeroOrMore>
</content>

MEI Guidelines Version 3.0.0

MEI Elements