The <measure-repeat> element

Parent element: <measure-style>

The <measure-repeat> element 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. The text of the element is ignored when the type is stop.

The stop type indicates the first measure where the repeats are no longer displayed. Both the start and the stop of the measures being repeated should be specified unless the repeats are displayed through the end of the part.

The <measure-repeat> element specifies a notation style for repetitions. The actual music being repeated needs to be repeated within each measure of the MusicXML file. This element specifies the notation that indicates the repeat.

https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/measure-repeat/

Hierarchy

  • MeasureRepeat

Implements

Constructors

Properties

schema: {
    attributes: {
        slashes: {
            type: "optional";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
        type: {
            type: "required";
            value: {
                choices: readonly ["start", "stop"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        label: "value";
        type: "label";
        value: {
            type: "required";
            value: {
                choices: readonly ["", {
                    max: number;
                    min: 1;
                    type: "int";
                }];
                type: "choices";
            };
        };
    }];
    name: "measure-repeat";
} = MeasureRepeat.schema

Type declaration

  • Readonly attributes: {
        slashes: {
            type: "optional";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
        type: {
            type: "required";
            value: {
                choices: readonly ["start", "stop"];
                type: "choices";
            };
        };
    }
    • Readonly slashes: {
          type: "optional";
          value: {
              max: number;
              min: 1;
              type: "int";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: number;
            min: 1;
            type: "int";
        }
        • Readonly max: number
        • Readonly min: 1
        • Readonly type: "int"
    • Readonly type: {
          type: "required";
          value: {
              choices: readonly ["start", "stop"];
              type: "choices";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            choices: readonly ["start", "stop"];
            type: "choices";
        }
        • Readonly choices: readonly ["start", "stop"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        label: "value";
        type: "label";
        value: {
            type: "required";
            value: {
                choices: readonly ["", {
                    max: number;
                    min: 1;
                    type: "int";
                }];
                type: "choices";
            };
        };
    }]
  • Readonly name: "measure-repeat"
schema: {
    attributes: {
        slashes: {
            type: "optional";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
        type: {
            type: "required";
            value: {
                choices: readonly ["start", "stop"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        label: "value";
        type: "label";
        value: {
            type: "required";
            value: {
                choices: readonly ["", {
                    max: number;
                    min: 1;
                    type: "int";
                }];
                type: "choices";
            };
        };
    }];
    name: "measure-repeat";
} = ...

Type declaration

  • Readonly attributes: {
        slashes: {
            type: "optional";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
        type: {
            type: "required";
            value: {
                choices: readonly ["start", "stop"];
                type: "choices";
            };
        };
    }
    • Readonly slashes: {
          type: "optional";
          value: {
              max: number;
              min: 1;
              type: "int";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: number;
            min: 1;
            type: "int";
        }
        • Readonly max: number
        • Readonly min: 1
        • Readonly type: "int"
    • Readonly type: {
          type: "required";
          value: {
              choices: readonly ["start", "stop"];
              type: "choices";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            choices: readonly ["start", "stop"];
            type: "choices";
        }
        • Readonly choices: readonly ["start", "stop"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        label: "value";
        type: "label";
        value: {
            type: "required";
            value: {
                choices: readonly ["", {
                    max: number;
                    min: 1;
                    type: "int";
                }];
                type: "choices";
            };
        };
    }]
  • Readonly name: "measure-repeat"

Methods

Generated using TypeDoc