The <repeat> element

Parent element: <barline>

The <repeat> element represents repeat marks.

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

Hierarchy

  • Repeat

Implements

Constructors

Properties

attributes: RepeatAttributes
contents: []
schema: {
    attributes: {
        after-jump: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        direction: {
            type: "required";
            value: {
                choices: readonly ["backward", "forward"];
                type: "choices";
            };
        };
        times: {
            type: "optional";
            value: {
                max: number;
                min: 0;
                type: "int";
            };
        };
        winged: {
            type: "optional";
            value: {
                choices: readonly ["none", "straight", "curved", "double-straight", "double-curved"];
                type: "choices";
            };
        };
    };
    contents: readonly [];
    name: "repeat";
} = Repeat.schema

Type declaration

  • Readonly attributes: {
        after-jump: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        direction: {
            type: "required";
            value: {
                choices: readonly ["backward", "forward"];
                type: "choices";
            };
        };
        times: {
            type: "optional";
            value: {
                max: number;
                min: 0;
                type: "int";
            };
        };
        winged: {
            type: "optional";
            value: {
                choices: readonly ["none", "straight", "curved", "double-straight", "double-curved"];
                type: "choices";
            };
        };
    }
    • Readonly after-jump: {
          type: "optional";
          value: {
              choices: readonly ["yes", "no"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["yes", "no"];
            type: "choices";
        }
        • Readonly choices: readonly ["yes", "no"]
        • Readonly type: "choices"
    • Readonly direction: {
          type: "required";
          value: {
              choices: readonly ["backward", "forward"];
              type: "choices";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            choices: readonly ["backward", "forward"];
            type: "choices";
        }
        • Readonly choices: readonly ["backward", "forward"]
        • Readonly type: "choices"
    • Readonly times: {
          type: "optional";
          value: {
              max: number;
              min: 0;
              type: "int";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: number;
            min: 0;
            type: "int";
        }
        • Readonly max: number
        • Readonly min: 0
        • Readonly type: "int"
    • Readonly winged: {
          type: "optional";
          value: {
              choices: readonly ["none", "straight", "curved", "double-straight", "double-curved"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["none", "straight", "curved", "double-straight", "double-curved"];
            type: "choices";
        }
        • Readonly choices: readonly ["none", "straight", "curved", "double-straight", "double-curved"]
        • Readonly type: "choices"
  • Readonly contents: readonly []
  • Readonly name: "repeat"
schema: {
    attributes: {
        after-jump: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        direction: {
            type: "required";
            value: {
                choices: readonly ["backward", "forward"];
                type: "choices";
            };
        };
        times: {
            type: "optional";
            value: {
                max: number;
                min: 0;
                type: "int";
            };
        };
        winged: {
            type: "optional";
            value: {
                choices: readonly ["none", "straight", "curved", "double-straight", "double-curved"];
                type: "choices";
            };
        };
    };
    contents: readonly [];
    name: "repeat";
} = ...

Type declaration

  • Readonly attributes: {
        after-jump: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        direction: {
            type: "required";
            value: {
                choices: readonly ["backward", "forward"];
                type: "choices";
            };
        };
        times: {
            type: "optional";
            value: {
                max: number;
                min: 0;
                type: "int";
            };
        };
        winged: {
            type: "optional";
            value: {
                choices: readonly ["none", "straight", "curved", "double-straight", "double-curved"];
                type: "choices";
            };
        };
    }
    • Readonly after-jump: {
          type: "optional";
          value: {
              choices: readonly ["yes", "no"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["yes", "no"];
            type: "choices";
        }
        • Readonly choices: readonly ["yes", "no"]
        • Readonly type: "choices"
    • Readonly direction: {
          type: "required";
          value: {
              choices: readonly ["backward", "forward"];
              type: "choices";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            choices: readonly ["backward", "forward"];
            type: "choices";
        }
        • Readonly choices: readonly ["backward", "forward"]
        • Readonly type: "choices"
    • Readonly times: {
          type: "optional";
          value: {
              max: number;
              min: 0;
              type: "int";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: number;
            min: 0;
            type: "int";
        }
        • Readonly max: number
        • Readonly min: 0
        • Readonly type: "int"
    • Readonly winged: {
          type: "optional";
          value: {
              choices: readonly ["none", "straight", "curved", "double-straight", "double-curved"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["none", "straight", "curved", "double-straight", "double-curved"];
            type: "choices";
        }
        • Readonly choices: readonly ["none", "straight", "curved", "double-straight", "double-curved"]
        • Readonly type: "choices"
  • Readonly contents: readonly []
  • Readonly name: "repeat"

Methods

  • Gets

    Returns null | "none" | "straight" | "curved" | "double-straight" | "double-curved"

Generated using TypeDoc