You are here: MusicXML Reference > Score Schema (XSD) > Elements > Element: measure-repeat

Element: measure-repeat

Description

The measure-repeat type is used for both single and multiple measure repeats. The text of the element indicates the number of measures to be repeated in a single pattern. Both the start and the stop of the measure-repeat must be specified. The text of the element is ignored when the type is stop. The measure-repeat element specifies a notation style for repetitions. The actual music being repeated needs to be repeated within the MusicXML file. This element specifies the notation that indicates the repeat.

Derived By

Type measure-repeat

Attributes
Name  Type  Required?  Default  Description 
type  start-stop  Yes  Both the start and the stop of the measure-repeat must be specified. The text of the element is ignored when the type is stop.
slashes  xs:positiveInteger  No  The slashes attribute specifies the number of slashes to use in the repeat sign. It is 1 if not specified.
Content Model

Contains text only.

Referenced By
Example

    <measure number="2" width="228">
      <attributes>
        <measure-style>
          <measure-repeat type="start">1</measure-repeat>
        </measure-style>
      </attributes>
      <note>
        <rest measure="yes"/>
        <duration>8</duration>
        <voice>1</voice>
      </note>
    </measure>
    <!--=======================================================-->
    <measure number="3" width="228">
      <note>
        <rest measure="yes"/>
        <duration>8</duration>
        <voice>1</voice>
      </note>
    </measure>
    <!--=======================================================-->
    <measure number="4" width="228">
      <note>
        <rest measure="yes"/>
        <duration>8</duration>
        <voice>1</voice>
      </note>
    </measure>
    <!--=======================================================-->
    <measure number="5" width="377">
      <print new-system="yes">
        <system-layout>
          <system-distance>112</system-distance>
        </system-layout>
      </print>
      <attributes>
        <measure-style>
          <measure-repeat type="stop"/>
        </measure-style>

Definition

See measure-style

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301