Showing:

Annotations
Attributes
Diagrams
Facets
Instances
Properties
Source
Used by
Element attributes/divisions
Namespace No namespace
Annotations
Musical notation duration is commonly represented as fractions. The divisions element indicates how many divisions per quarter note are used to indicate a note's duration. For example, if duration = 1 and divisions = 2, this is an eighth note duration. Duration and divisions are used directly for generating sound output, so they must be chosen to take tuplets into account. Using a divisions element lets us use just one number to  represent a duration for each note in the score, while retaining the full power of a fractional representation. For maximum compatibility with Standard MIDI Files, the divisions value should not exceed 16383.
Diagram
Diagram musicxml11.tmp#id29
Type positive-divisions
Type hierarchy
Properties
content: simple
minOccurs: 0
Facets
minExclusive 0
Source
<xs:element name="divisions" type="positive-divisions" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Musical notation duration is commonly represented as fractions. The divisions element indicates how many divisions per quarter note are used to indicate a note's duration. For example, if duration = 1 and divisions = 2, this is an eighth note duration. Duration and divisions are used directly for generating sound output, so they must be chosen to take tuplets into account. Using a divisions element lets us use just one number to represent a duration for each note in the score, while retaining the full power of a fractional representation. For maximum compatibility with Standard MIDI Files, the divisions value should not exceed 16383.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element attributes/key
Namespace No namespace
Annotations
The key element represents a key signature. Both traditional and non-traditional key signatures are supported. The optional number attribute refers to staff numbers. If absent, the key signature applies to all staves in the part.
Diagram
Diagram musicxml241.tmp#id284 musicxml6.tmp#id142 musicxml4.tmp#id138 musicxml124.tmp#id272 musicxml124.tmp#id275 musicxml124.tmp#id276 musicxml124.tmp#id271 musicxml242.tmp#id278 musicxml242.tmp#id279 musicxml242.tmp#id277 musicxml241.tmp#id280 musicxml241.tmp#id270
Type key
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Model ((cancel{0,1} , fifths , mode{0,1}) | (key-step , key-alter)) , key-octave*
Children cancel, fifths, key-alter, key-octave, key-step, mode
Instance
<key color="" default-x="" default-y="" font-family="" font-size="" font-style="" font-weight="" number="" print-object="" relative-x="" relative-y="">
  <cancel location="">{0,1}</cancel>
  <fifths>{1,1}</fifths>
  <mode>{0,1}</mode>
  <key-octave cancel="" number="">{0,unbounded}</key-octave>
</key>
Attributes
QName Type Fixed Default Use Annotation
color color optional
default-x tenths optional
default-y tenths optional
font-family comma-separated-text optional
font-size font-size optional
font-style font-style optional
font-weight font-weight optional
number staff-number optional
print-object yes-no optional
relative-x tenths optional
relative-y tenths optional
Source
<xs:element name="key" type="key" minOccurs="0" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>The key element represents a key signature. Both traditional and non-traditional key signatures are supported. The optional number attribute refers to staff numbers. If absent, the key signature applies to all staves in the part.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element attributes/time
Namespace No namespace
Annotations
Time signatures are represented by the beats element for the numerator and the beat-type element for the denominator.
Diagram
Diagram musicxml76.tmp#id290 musicxml76.tmp#id291 musicxml6.tmp#id142 musicxml4.tmp#id138 musicxml76.tmp#id287 musicxml76.tmp#id288 musicxml76.tmp#id289 musicxml76.tmp#id286
Type time
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Model (beats , beat-type) | senza-misura
Children beat-type, beats, senza-misura
Instance
<time color="" default-x="" default-y="" font-family="" font-size="" font-style="" font-weight="" number="" print-object="" relative-x="" relative-y="" symbol="">
  <beats>{1,1}</beats>
  <beat-type>{1,1}</beat-type>
  <senza-misura>{1,1}</senza-misura>
</time>
Attributes
QName Type Fixed Default Use Annotation
color color optional
default-x tenths optional
default-y tenths optional
font-family comma-separated-text optional
font-size font-size optional
font-style font-style optional
font-weight font-weight optional
number staff-number optional
print-object yes-no optional
relative-x tenths optional
relative-y tenths optional
symbol time-symbol optional
Source
<xs:element name="time" type="time" minOccurs="0" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>Time signatures are represented by the beats element for the numerator and the beat-type element for the denominator.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element attributes/staves
Namespace No namespace
Annotations
The staves element is used if there is more than one staff represented in the given part (e.g., 2 staves for typical piano parts). If absent, a value of 1 is assumed. Staves are ordered from top to bottom in a part in numerical order, with staff 1 above staff 2.
Diagram
Diagram
Type xs:nonNegativeInteger
Properties
content: simple
minOccurs: 0
Source
<xs:element name="staves" type="xs:nonNegativeInteger" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The staves element is used if there is more than one staff represented in the given part (e.g., 2 staves for typical piano parts). If absent, a value of 1 is assumed. Staves are ordered from top to bottom in a part in numerical order, with staff 1 above staff 2.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element attributes/part-symbol
Namespace No namespace
Annotations
The part-symbol element indicates how a symbol for a multi-staff part is indicated in the score.
Diagram
Diagram musicxml32.tmp#id88 musicxml33.tmp#id295 musicxml33.tmp#id296 musicxml31.tmp#id133 musicxml2.tmp#id102 musicxml33.tmp#id294
Type part-symbol
Type hierarchy
Properties
content: complex
minOccurs: 0
Attributes
QName Type Fixed Default Use Annotation
bottom-staff staff-number optional
color color optional
default-x tenths optional
default-y tenths optional
relative-x tenths optional
relative-y tenths optional
top-staff staff-number optional
Source
<xs:element name="part-symbol" type="part-symbol" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The part-symbol element indicates how a symbol for a multi-staff part is indicated in the score.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element attributes/instruments
Namespace No namespace
Annotations
The instruments element is only used if more than one instrument is represented in the part (e.g., oboe I and II where they play together most of the time). If absent, a value of 1 is assumed.
Diagram
Diagram
Type xs:nonNegativeInteger
Properties
content: simple
minOccurs: 0
Source
<xs:element name="instruments" type="xs:nonNegativeInteger" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The instruments element is only used if more than one instrument is represented in the part (e.g., oboe I and II where they play together most of the time). If absent, a value of 1 is assumed.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element attributes/clef
Namespace No namespace
Annotations
Clefs are represented by a combination of sign, line, and clef-octave-change elements.
Diagram
Diagram musicxml230.tmp#id303 musicxml230.tmp#id304 musicxml230.tmp#id305 musicxml6.tmp#id142 musicxml4.tmp#id138 musicxml230.tmp#id300 musicxml230.tmp#id301 musicxml230.tmp#id302 musicxml230.tmp#id299
Type clef
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Model sign , line{0,1} , clef-octave-change{0,1}
Children clef-octave-change, line, sign
Instance
<clef additional="" color="" default-x="" default-y="" font-family="" font-size="" font-style="" font-weight="" number="" print-object="" relative-x="" relative-y="" size="">
  <sign>{1,1}</sign>
  <line>{0,1}</line>
  <clef-octave-change>{0,1}</clef-octave-change>
</clef>
Attributes
QName Type Fixed Default Use Annotation
additional yes-no optional
color color optional
default-x tenths optional
default-y tenths optional
font-family comma-separated-text optional
font-size font-size optional
font-style font-style optional
font-weight font-weight optional
number staff-number optional
print-object yes-no optional
relative-x tenths optional
relative-y tenths optional
size symbol-size optional
Source
<xs:element name="clef" type="clef" minOccurs="0" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>Clefs are represented by a combination of sign, line, and clef-octave-change elements.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element attributes/staff-details
Namespace No namespace
Annotations
The staff-details element is used to indicate different types of staves.
Diagram
Diagram musicxml249.tmp#id320 musicxml249.tmp#id321 musicxml4.tmp#id138 musicxml231.tmp#id140 musicxml249.tmp#id308 musicxml249.tmp#id309 musicxml249.tmp#id310 musicxml249.tmp#id318 musicxml249.tmp#id319 musicxml249.tmp#id307
Type staff-details
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Model staff-type{0,1} , staff-lines{0,1} , staff-tuning* , capo{0,1} , staff-size{0,1}
Children capo, staff-lines, staff-size, staff-tuning, staff-type
Instance
<staff-details number="" print-object="" print-spacing="" show-frets="">
  <staff-type>{0,1}</staff-type>
  <staff-lines>{0,1}</staff-lines>
  <staff-tuning line="">{0,unbounded}</staff-tuning>
  <capo>{0,1}</capo>
  <staff-size>{0,1}</staff-size>
</staff-details>
Attributes
QName Type Fixed Default Use Annotation
number staff-number optional
print-object yes-no optional
print-spacing yes-no optional
show-frets show-frets optional
Source
<xs:element name="staff-details" type="staff-details" minOccurs="0" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>The staff-details element is used to indicate different types of staves.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element attributes/transpose
Namespace No namespace
Annotations
If the part is being encoded for a transposing instrument in written vs. concert pitch, the transposition must be encoded in the transpose element using the transpose type.
Diagram
Diagram musicxml229.tmp#id324 musicxml229.tmp#id325 musicxml229.tmp#id326 musicxml229.tmp#id327 musicxml229.tmp#id323
Type transpose
Properties
content: complex
minOccurs: 0
Model diatonic{0,1} , chromatic , octave-change{0,1} , double{0,1}
Children chromatic, diatonic, double, octave-change
Instance
<transpose>
  <diatonic>{0,1}</diatonic>
  <chromatic>{1,1}</chromatic>
  <octave-change>{0,1}</octave-change>
  <double>{0,1}</double>
</transpose>
Source
<xs:element name="transpose" type="transpose" minOccurs="0">
  <xs:annotation>
    <xs:documentation>If the part is being encoded for a transposing instrument in written vs. concert pitch, the transposition must be encoded in the transpose element using the transpose type.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element attributes/directive
Namespace No namespace
Annotations
Directives are like directions, but can be grouped together with attributes for convenience. This is typically used for tempo markings at the beginning of a piece of music. This element has been deprecated in Version 2.0 in favor of the directive attribute for direction elements. Language  names come from ISO 639, with optional country subcodes from ISO 3166.
Diagram
Diagram musicxml6.tmp#id142
Type extension of xs:string
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Attributes
QName Type Fixed Default Use Annotation
color color optional
default-x tenths optional
default-y tenths optional
font-family comma-separated-text optional
font-size font-size optional
font-style font-style optional
font-weight font-weight optional
lang optional
relative-x tenths optional
relative-y tenths optional
Source
<xs:element name="directive" minOccurs="0" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>Directives are like directions, but can be grouped together with attributes for convenience. This is typically used for tempo markings at the beginning of a piece of music. This element has been deprecated in Version 2.0 in favor of the directive attribute for direction elements. Language names come from ISO 639, with optional country subcodes from ISO 3166.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attributeGroup ref="print-style"/>
        <xs:attribute ref="xml:lang"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element attributes/measure-style
Namespace No namespace
Annotations
A measure-style indicates a special way to print partial to multiple measures within a part. This includes multiple rests over several measures, repeats of beats, single, or multiple measures, and use of slash notation.
Diagram
Diagram musicxml77.tmp#id355 musicxml1.tmp#id108 musicxml2.tmp#id102 musicxml77.tmp#id331 musicxml77.tmp#id334 musicxml77.tmp#id338 musicxml77.tmp#id349 musicxml77.tmp#id330
Type measure-style
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Model multiple-rest | measure-repeat | beat-repeat | slash
Children beat-repeat, measure-repeat, multiple-rest, slash
Instance
<measure-style color="" font-family="" font-size="" font-style="" font-weight="" number="">
  <multiple-rest use-symbols="">{1,1}</multiple-rest>
  <measure-repeat slashes="" type="">{1,1}</measure-repeat>
  <beat-repeat slashes="" type="" use-dots="">{1,1}</beat-repeat>
  <slash type="" use-dots="" use-stems="">{1,1}</slash>
</measure-style>
Attributes
QName Type Fixed Default Use Annotation
color color optional
font-family comma-separated-text optional
font-size font-size optional
font-style font-style optional
font-weight font-weight optional
number staff-number optional
Source
<xs:element name="measure-style" type="measure-style" minOccurs="0" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>A measure-style indicates a special way to print partial to multiple measures within a part. This includes multiple rests over several measures, repeats of beats, single, or multiple measures, and use of slash notation.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Complex Type attributes
Namespace No namespace
Annotations
The attributes element contains musical information that typically changes on measure boundaries. This includes key and time signatures, clefs, transpositions, and staving.
Diagram
Diagram musicxml39.tmp#id263 musicxml39.tmp#id262 musicxml44.tmp#id265 musicxml44.tmp#id264 musicxml103.tmp#id261 musicxml238.tmp#id268 musicxml238.tmp#id269 musicxml238.tmp#id285 musicxml238.tmp#id292 musicxml238.tmp#id293 musicxml238.tmp#id297 musicxml238.tmp#id298 musicxml238.tmp#id306 musicxml238.tmp#id322 musicxml238.tmp#id328 musicxml238.tmp#id329
Used by
Model footnote , level , divisions{0,1} , key* , time* , staves{0,1} , part-symbol{0,1} , instruments{0,1} , clef* , staff-details* , transpose{0,1} , directive* , measure-style*
Children clef, directive, divisions, footnote, instruments, key, level, measure-style, part-symbol, staff-details, staves, time, transpose
Source
<xs:complexType name="attributes">
  <xs:annotation>
    <xs:documentation>The attributes element contains musical information that typically changes on measure boundaries. This includes key and time signatures, clefs, transpositions, and staving.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:group ref="editorial"/>
    <xs:element name="divisions" type="positive-divisions" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Musical notation duration is commonly represented as fractions. The divisions element indicates how many divisions per quarter note are used to indicate a note's duration. For example, if duration = 1 and divisions = 2, this is an eighth note duration. Duration and divisions are used directly for generating sound output, so they must be chosen to take tuplets into account. Using a divisions element lets us use just one number to represent a duration for each note in the score, while retaining the full power of a fractional representation. For maximum compatibility with Standard MIDI Files, the divisions value should not exceed 16383.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="key" type="key" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>The key element represents a key signature. Both traditional and non-traditional key signatures are supported. The optional number attribute refers to staff numbers. If absent, the key signature applies to all staves in the part.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="time" type="time" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>Time signatures are represented by the beats element for the numerator and the beat-type element for the denominator.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="staves" type="xs:nonNegativeInteger" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The staves element is used if there is more than one staff represented in the given part (e.g., 2 staves for typical piano parts). If absent, a value of 1 is assumed. Staves are ordered from top to bottom in a part in numerical order, with staff 1 above staff 2.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="part-symbol" type="part-symbol" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The part-symbol element indicates how a symbol for a multi-staff part is indicated in the score.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="instruments" type="xs:nonNegativeInteger" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The instruments element is only used if more than one instrument is represented in the part (e.g., oboe I and II where they play together most of the time). If absent, a value of 1 is assumed.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="clef" type="clef" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>Clefs are represented by a combination of sign, line, and clef-octave-change elements.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="staff-details" type="staff-details" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>The staff-details element is used to indicate different types of staves.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="transpose" type="transpose" minOccurs="0">
      <xs:annotation>
        <xs:documentation>If the part is being encoded for a transposing instrument in written vs. concert pitch, the transposition must be encoded in the transpose element using the transpose type.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="directive" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>Directives are like directions, but can be grouped together with attributes for convenience. This is typically used for tempo markings at the beginning of a piece of music. This element has been deprecated in Version 2.0 in favor of the directive attribute for direction elements. Language names come from ISO 639, with optional country subcodes from ISO 3166.</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:simpleContent>
          <xs:extension base="xs:string">
            <xs:attributeGroup ref="print-style"/>
            <xs:attribute ref="xml:lang"/>
          </xs:extension>
        </xs:simpleContent>
      </xs:complexType>
    </xs:element>
    <xs:element name="measure-style" type="measure-style" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>A measure-style indicates a special way to print partial to multiple measures within a part. This includes multiple rests over several measures, repeats of beats, single, or multiple measures, and use of slash notation.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
</xs:complexType>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd