Showing:

Annotations
Attributes
Diagrams
Facets
Properties
Source
Used by
Element clef/sign
Namespace No namespace
Annotations
The sign element represents the clef symbol.
Diagram
Diagram musicxml200.tmp#id49
Type clef-sign
Properties
content: simple
Facets
enumeration G, F, C, percussion, TAB, none
Source
<xs:element name="sign" type="clef-sign">
  <xs:annotation>
    <xs:documentation>The sign element represents the clef symbol.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element clef/line
Namespace No namespace
Annotations
Line numbers are counted from the bottom of the staff. Standard values are 2 for the G sign (treble clef), 4 for the F sign (bass clef), 3 for the C sign (alto clef) and 5 for TAB (on a 6-line staff).
Diagram
Diagram musicxml123.tmp#id52
Type staff-line
Properties
content: simple
minOccurs: 0
Source
<xs:element name="line" type="staff-line" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Line numbers are counted from the bottom of the staff. Standard values are 2 for the G sign (treble clef), 4 for the F sign (bass clef), 3 for the C sign (alto clef) and 5 for TAB (on a 6-line staff).</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Element clef/clef-octave-change
Namespace No namespace
Annotations
The clef-octave-change element is used for transposing clefs A treble clef for tenors would have a value of -1.
Diagram
Diagram
Type xs:integer
Properties
content: simple
minOccurs: 0
Source
<xs:element name="clef-octave-change" type="xs:integer" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The clef-octave-change element is used for transposing clefs A treble clef for tenors would have a value of -1.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Complex Type clef
Namespace No namespace
Annotations
Clefs are represented by a combination of sign, line, and clef-octave-change elements. The optional number attribute refers to staff numbers within the part. A value of 1 is assumed if not present.

Sometimes clefs are added to the staff in non-standard line positions, either to indicate cue passages, or when there are multiple clefs present simultaneously on one staff. In this situation, the additional attribute is set to "yes" and the line value is ignored. The size attribute is used for clefs where the additional attribute is "yes". It is typically used to indicate cue clefs.
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
Used by
Element attributes/clef
Model sign , line{0,1} , clef-octave-change{0,1}
Children clef-octave-change, line, sign
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:complexType name="clef">
  <xs:annotation>
    <xs:documentation>Clefs are represented by a combination of sign, line, and clef-octave-change elements. The optional number attribute refers to staff numbers within the part. A value of 1 is assumed if not present. Sometimes clefs are added to the staff in non-standard line positions, either to indicate cue passages, or when there are multiple clefs present simultaneously on one staff. In this situation, the additional attribute is set to "yes" and the line value is ignored. The size attribute is used for clefs where the additional attribute is "yes". It is typically used to indicate cue clefs.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="sign" type="clef-sign">
      <xs:annotation>
        <xs:documentation>The sign element represents the clef symbol.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="line" type="staff-line" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Line numbers are counted from the bottom of the staff. Standard values are 2 for the G sign (treble clef), 4 for the F sign (bass clef), 3 for the C sign (alto clef) and 5 for TAB (on a 6-line staff).</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="clef-octave-change" type="xs:integer" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The clef-octave-change element is used for transposing clefs A treble clef for tenors would have a value of -1.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
  <xs:attribute name="number" type="staff-number"/>
  <xs:attribute name="additional" type="yes-no"/>
  <xs:attribute name="size" type="symbol-size"/>
  <xs:attributeGroup ref="print-style"/>
  <xs:attributeGroup ref="print-object"/>
</xs:complexType>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Attribute clef/@number
Namespace No namespace
Type staff-number
Properties
content: simple
Used by
Complex Type clef
Source
<xs:attribute name="number" type="staff-number"/>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Attribute clef/@additional
Namespace No namespace
Type yes-no
Properties
content: simple
Facets
enumeration yes, no
Used by
Complex Type clef
Source
<xs:attribute name="additional" type="yes-no"/>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Attribute clef/@size
Namespace No namespace
Type symbol-size
Properties
content: simple
Facets
enumeration full, cue, large
Used by
Complex Type clef
Source
<xs:attribute name="size" type="symbol-size"/>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd