The <measure> element (partwise)

Parent element: <part> (partwise)

The <measure> element includes the basic musical data such as <note>s within a <score-partwise version="4.0"> document.

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

Hierarchy

  • MeasurePartwise

Implements

Constructors

Properties

schema: {
    attributes: {
        id: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "_";
            };
        };
        implicit: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        non-controller: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        number: {
            type: "required";
            value: {
                type: "string";
            };
        };
        text: {
            type: "optional";
            value: {
                exclude: {
                    type: "constant";
                    value: "";
                };
                include: {
                    choices: readonly ["yes", {
                        type: "string";
                    }];
                    type: "choices";
                };
                type: "not";
            };
        };
        width: {
            type: "optional";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
    };
    contents: readonly [{
        label: "values";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: {
                choices: readonly [typeof Note, typeof Backup, typeof Forward, typeof Direction, typeof Attributes, typeof Harmony, typeof FiguredBass, typeof Print, typeof Sound, typeof Listening, typeof Barline, typeof Grouping, typeof Link, typeof Bookmark];
                type: "choices";
            };
        };
    }];
    name: "measure";
} = MeasurePartwise.schema

Type declaration

  • Readonly attributes: {
        id: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "_";
            };
        };
        implicit: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        non-controller: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        number: {
            type: "required";
            value: {
                type: "string";
            };
        };
        text: {
            type: "optional";
            value: {
                exclude: {
                    type: "constant";
                    value: "";
                };
                include: {
                    choices: readonly ["yes", {
                        type: "string";
                    }];
                    type: "choices";
                };
                type: "not";
            };
        };
        width: {
            type: "optional";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
    }
    • Readonly id: {
          type: "optional";
          value: {
              pattern: RegExp;
              type: "regex";
              zero: "_";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            pattern: RegExp;
            type: "regex";
            zero: "_";
        }
        • Readonly pattern: RegExp
        • Readonly type: "regex"
        • Readonly zero: "_"
    • Readonly implicit: {
          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 non-controller: {
          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 number: {
          type: "required";
          value: {
              type: "string";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
    • Readonly text: {
          type: "optional";
          value: {
              exclude: {
                  type: "constant";
                  value: "";
              };
              include: {
                  choices: readonly ["yes", {
                      type: "string";
                  }];
                  type: "choices";
              };
              type: "not";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            exclude: {
                type: "constant";
                value: "";
            };
            include: {
                choices: readonly ["yes", {
                    type: "string";
                }];
                type: "choices";
            };
            type: "not";
        }
        • Readonly exclude: {
              type: "constant";
              value: "";
          }
          • Readonly type: "constant"
          • Readonly value: ""
        • Readonly include: {
              choices: readonly ["yes", {
                  type: "string";
              }];
              type: "choices";
          }
          • Readonly choices: readonly ["yes", {
                type: "string";
            }]
          • Readonly type: "choices"
        • Readonly type: "not"
    • Readonly width: {
          type: "optional";
          value: {
              max: number;
              min: number;
              type: "float";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: number;
            min: number;
            type: "float";
        }
        • Readonly max: number
        • Readonly min: number
        • Readonly type: "float"
  • Readonly contents: readonly [{
        label: "values";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: {
                choices: readonly [typeof Note, typeof Backup, typeof Forward, typeof Direction, typeof Attributes, typeof Harmony, typeof FiguredBass, typeof Print, typeof Sound, typeof Listening, typeof Barline, typeof Grouping, typeof Link, typeof Bookmark];
                type: "choices";
            };
        };
    }]
  • Readonly name: "measure"
schema: {
    attributes: {
        id: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "_";
            };
        };
        implicit: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        non-controller: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        number: {
            type: "required";
            value: {
                type: "string";
            };
        };
        text: {
            type: "optional";
            value: {
                exclude: {
                    type: "constant";
                    value: "";
                };
                include: {
                    choices: readonly ["yes", {
                        type: "string";
                    }];
                    type: "choices";
                };
                type: "not";
            };
        };
        width: {
            type: "optional";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
    };
    contents: readonly [{
        label: "values";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: {
                choices: readonly [typeof Note, typeof Backup, typeof Forward, typeof Direction, typeof Attributes, typeof Harmony, typeof FiguredBass, typeof Print, typeof Sound, typeof Listening, typeof Barline, typeof Grouping, typeof Link, typeof Bookmark];
                type: "choices";
            };
        };
    }];
    name: "measure";
} = ...

Type declaration

  • Readonly attributes: {
        id: {
            type: "optional";
            value: {
                pattern: RegExp;
                type: "regex";
                zero: "_";
            };
        };
        implicit: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        non-controller: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        number: {
            type: "required";
            value: {
                type: "string";
            };
        };
        text: {
            type: "optional";
            value: {
                exclude: {
                    type: "constant";
                    value: "";
                };
                include: {
                    choices: readonly ["yes", {
                        type: "string";
                    }];
                    type: "choices";
                };
                type: "not";
            };
        };
        width: {
            type: "optional";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
    }
    • Readonly id: {
          type: "optional";
          value: {
              pattern: RegExp;
              type: "regex";
              zero: "_";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            pattern: RegExp;
            type: "regex";
            zero: "_";
        }
        • Readonly pattern: RegExp
        • Readonly type: "regex"
        • Readonly zero: "_"
    • Readonly implicit: {
          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 non-controller: {
          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 number: {
          type: "required";
          value: {
              type: "string";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
    • Readonly text: {
          type: "optional";
          value: {
              exclude: {
                  type: "constant";
                  value: "";
              };
              include: {
                  choices: readonly ["yes", {
                      type: "string";
                  }];
                  type: "choices";
              };
              type: "not";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            exclude: {
                type: "constant";
                value: "";
            };
            include: {
                choices: readonly ["yes", {
                    type: "string";
                }];
                type: "choices";
            };
            type: "not";
        }
        • Readonly exclude: {
              type: "constant";
              value: "";
          }
          • Readonly type: "constant"
          • Readonly value: ""
        • Readonly include: {
              choices: readonly ["yes", {
                  type: "string";
              }];
              type: "choices";
          }
          • Readonly choices: readonly ["yes", {
                type: "string";
            }]
          • Readonly type: "choices"
        • Readonly type: "not"
    • Readonly width: {
          type: "optional";
          value: {
              max: number;
              min: number;
              type: "float";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: number;
            min: number;
            type: "float";
        }
        • Readonly max: number
        • Readonly min: number
        • Readonly type: "float"
  • Readonly contents: readonly [{
        label: "values";
        type: "label";
        value: {
            type: "zeroOrMore";
            value: {
                choices: readonly [typeof Note, typeof Backup, typeof Forward, typeof Direction, typeof Attributes, typeof Harmony, typeof FiguredBass, typeof Print, typeof Sound, typeof Listening, typeof Barline, typeof Grouping, typeof Link, typeof Bookmark];
                type: "choices";
            };
        };
    }]
  • Readonly name: "measure"

Methods

Generated using TypeDoc