The <note-size> element

Parent element: <appearance>

The <note-size> element indicates the numeric percentage of the regular note size to use for notes with cue and large size, as defined in the <type> element. A value of 100 would be identical to the size of a regular note as defined by the music font.

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

Hierarchy

  • NoteSize

Implements

Constructors

Properties

attributes: NoteSizeAttributes
schema: {
    attributes: {
        type: {
            type: "required";
            value: {
                choices: readonly ["cue", "grace", "grace-cue", "large"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        label: "note-size";
        type: "label";
        value: {
            max: number;
            min: 0;
            type: "float";
        };
    }];
    name: "note-size";
} = NoteSize.schema

Type declaration

  • Readonly attributes: {
        type: {
            type: "required";
            value: {
                choices: readonly ["cue", "grace", "grace-cue", "large"];
                type: "choices";
            };
        };
    }
    • Readonly type: {
          type: "required";
          value: {
              choices: readonly ["cue", "grace", "grace-cue", "large"];
              type: "choices";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            choices: readonly ["cue", "grace", "grace-cue", "large"];
            type: "choices";
        }
        • Readonly choices: readonly ["cue", "grace", "grace-cue", "large"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        label: "note-size";
        type: "label";
        value: {
            max: number;
            min: 0;
            type: "float";
        };
    }]
  • Readonly name: "note-size"
schema: {
    attributes: {
        type: {
            type: "required";
            value: {
                choices: readonly ["cue", "grace", "grace-cue", "large"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        label: "note-size";
        type: "label";
        value: {
            max: number;
            min: 0;
            type: "float";
        };
    }];
    name: "note-size";
} = ...

Type declaration

  • Readonly attributes: {
        type: {
            type: "required";
            value: {
                choices: readonly ["cue", "grace", "grace-cue", "large"];
                type: "choices";
            };
        };
    }
    • Readonly type: {
          type: "required";
          value: {
              choices: readonly ["cue", "grace", "grace-cue", "large"];
              type: "choices";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            choices: readonly ["cue", "grace", "grace-cue", "large"];
            type: "choices";
        }
        • Readonly choices: readonly ["cue", "grace", "grace-cue", "large"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        label: "note-size";
        type: "label";
        value: {
            max: number;
            min: 0;
            type: "float";
        };
    }]
  • Readonly name: "note-size"

Methods

  • Gets

    Returns "cue" | "grace" | "grace-cue" | "large"

Generated using TypeDoc