The <level> element

Parent elements: <attributes>, <backup>, <barline>, <direction>, <figure>, <figured-bass>, <forward>, <harmony>, <lyric>, <notations>, <note>, <part-group>

The <level> element is used to specify editorial information for different MusicXML elements. The content contains identifying and/or descriptive text about the editorial status of the parent element.

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

Hierarchy

  • Level

Implements

Constructors

Properties

attributes: LevelAttributes
contents: LevelContents
schema: {
    attributes: {
        bracket: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        parentheses: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        reference: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        size: {
            type: "optional";
            value: {
                choices: readonly ["cue", "full", "grace-cue", "large"];
                type: "choices";
            };
        };
        type: {
            type: "optional";
            value: {
                choices: readonly ["start", "stop", "single"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            type: "string";
        };
    }];
    name: "level";
} = Level.schema

Type declaration

  • Readonly attributes: {
        bracket: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        parentheses: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        reference: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        size: {
            type: "optional";
            value: {
                choices: readonly ["cue", "full", "grace-cue", "large"];
                type: "choices";
            };
        };
        type: {
            type: "optional";
            value: {
                choices: readonly ["start", "stop", "single"];
                type: "choices";
            };
        };
    }
    • Readonly bracket: {
          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 parentheses: {
          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 reference: {
          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 size: {
          type: "optional";
          value: {
              choices: readonly ["cue", "full", "grace-cue", "large"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["cue", "full", "grace-cue", "large"];
            type: "choices";
        }
        • Readonly choices: readonly ["cue", "full", "grace-cue", "large"]
        • Readonly type: "choices"
    • Readonly type: {
          type: "optional";
          value: {
              choices: readonly ["start", "stop", "single"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["start", "stop", "single"];
            type: "choices";
        }
        • Readonly choices: readonly ["start", "stop", "single"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        type: "required";
        value: {
            type: "string";
        };
    }]
  • Readonly name: "level"
schema: {
    attributes: {
        bracket: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        parentheses: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        reference: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        size: {
            type: "optional";
            value: {
                choices: readonly ["cue", "full", "grace-cue", "large"];
                type: "choices";
            };
        };
        type: {
            type: "optional";
            value: {
                choices: readonly ["start", "stop", "single"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            type: "string";
        };
    }];
    name: "level";
} = ...

Type declaration

  • Readonly attributes: {
        bracket: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        parentheses: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        reference: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        size: {
            type: "optional";
            value: {
                choices: readonly ["cue", "full", "grace-cue", "large"];
                type: "choices";
            };
        };
        type: {
            type: "optional";
            value: {
                choices: readonly ["start", "stop", "single"];
                type: "choices";
            };
        };
    }
    • Readonly bracket: {
          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 parentheses: {
          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 reference: {
          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 size: {
          type: "optional";
          value: {
              choices: readonly ["cue", "full", "grace-cue", "large"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["cue", "full", "grace-cue", "large"];
            type: "choices";
        }
        • Readonly choices: readonly ["cue", "full", "grace-cue", "large"]
        • Readonly type: "choices"
    • Readonly type: {
          type: "optional";
          value: {
              choices: readonly ["start", "stop", "single"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["start", "stop", "single"];
            type: "choices";
        }
        • Readonly choices: readonly ["start", "stop", "single"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        type: "required";
        value: {
            type: "string";
        };
    }]
  • Readonly name: "level"

Methods

  • Gets

    Returns null | "cue" | "grace-cue" | "large" | "full"

Generated using TypeDoc