You are here: MusicXML Reference > Score Schema (XSD) > Complex Types > Complex Type: time

Complex Type: time

Description

Time signatures are represented by the beats element for the numerator and the beat-type element for the denominator. Multiple pairs of beat and beat-type elements are used for composite time signatures with multiple denominators, such as 2/4 + 3/8. A composite such as 3+2/8 requires only one beat/beat-type pair. The print-object attribute allows a time signature to be specified but not printed, as is the case for excerpts from the middle of a score. The value is "yes" if not present.

Derived By

Restricting xs:anyType

Attributes
Name  Type  Required?  Default  Description 
number  staff-number  No  The optional number attribute refers to staff numbers within the part. If absent, the time signature applies to all staves in the part.
symbol  time-symbol  No  The symbol attribute is used indicate common and cut time symbols as well as a single number display.
separator  time-separator  No  The time-separator attribute indicates how to display the arrangement between the beats and beat-type values in a time signature. The default value is none. The horizontal, diagonal, and vertical values represent horizontal, diagonal lower-left to upper-right, and vertical lines respectively. For these values, the beats and beat-type values are arranged on either side of the separator line. The none value represents  no separator with the beats and beat-type arranged vertically. The adjacent value represents no separator with the beats and beat-type arranged horizontally.
default-x  tenths  No 
default-y  tenths  No 
relative-x  tenths  No 
relative-y  tenths  No 
font-family  comma-separated-text  No 
font-style  font-style  No 
font-size  font-size  No 
font-weight  font-weight  No 
color  color  No 
halign  left-center-right  No 
valign  valign  No  The valign attribute is used to indicate vertical alignment to the top, middle, bottom, or baseline of the text or image. Defaults are implementation-dependent.
print-object  yes-no  No 
Content Model

Contains elements as defined in the following table.

Component  Type  Occurs  Default  Description 
  1..1 
senza-misura  xs:string  1..1  A senza-misura element explicitly indicates that no time signature is present. The optional element content indicates the symbol to be used, if any, such as an X. The time element's symbol attribute is not used when a senza-misura element is present.
  1..1 
  1..* 
beats  xs:string  1..1 

The beats element indicates the number of beats, as found in the numerator of a time signature.

beat-type  xs:string  1..1 

The beat-type element indicates the beat unit, as found in the denominator of a time signature.

interchangeable  interchangeable  0..1 

The interchangeable type is used to represent the second in a pair of interchangeable dual time signatures, such as the 6/8 in 3/4 (6/8). A separate symbol attribute value is available compared to the time element's symbol attribute, which applies to the first of the dual time signatures. The parentheses attribute value is yes by default.

Referenced By
Definition
<xs:complexType name="time">
  <xs:annotation>
    <xs:documentation>Time signatures are represented by the beats element for the numerator and the beat-type element for the denominator. The symbol attribute is used indicate common and cut time symbols as well as a single number display. Multiple pairs of beat and beat-type elements are used for composite time signatures with multiple denominators, such as 2/4 + 3/8. A composite such as 3+2/8 requires only one beat/beat-type pair.

The print-object attribute allows a time signature to be specified but not printed, as is the case for excerpts from the middle of a score. The value is "yes" if not present. The optional number attribute refers to staff numbers within the part. If absent, the time signature applies to all staves in the part.</xs:documentation>
  </xs:annotation>
  <xs:choice>
    <xs:sequence>
      <xs:group ref="time-signature" maxOccurs="unbounded" />
      <xs:element name="interchangeable" type="interchangeable" minOccurs="0" />
    </xs:sequence>
    <xs:element name="senza-misura" type="xs:string">
      <xs:annotation>
        <xs:documentation>A senza-misura element explicitly indicates that no time signature is present. The optional element content indicates the symbol to be used, if any, such as an X. The time element's symbol attribute is not used when a senza-misura element is present.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:choice>
  <xs:attribute name="number" type="staff-number">
    <xsd:annotation>
      <xsd:documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xs:attribute>
  <xs:attribute name="symbol" type="time-symbol">
    <xsd:annotation>
      <xsd:documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xs:attribute>
  <xs:attribute name="separator" type="time-separator">
    <xsd:annotation>
      <xsd:documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xs:attribute>
  <xs:attributeGroup ref="print-style-align" />
  <xs:attributeGroup ref="print-object" />
</xs:complexType>

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301