The <type> element

Parent element: <note>

The <type> element indicates the graphic note type. Values range from 1024th to maxima.

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

Hierarchy

  • Type

Implements

Constructors

Properties

attributes: TypeAttributes
contents: TypeContents
schema: {
    attributes: {
        size: {
            type: "optional";
            value: {
                choices: readonly ["cue", "full", "grace-cue", "large"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            label: "note-type-value";
            type: "label";
            value: {
                choices: readonly ["whole", "1024th", "512th", "256th", "128th", "64th", "32nd", "16th", "eighth", "half", "quarter", "whole", "breve", "long", "maxima"];
                type: "choices";
            };
        };
    }];
    name: "type";
} = Type.schema

Type declaration

  • Readonly attributes: {
        size: {
            type: "optional";
            value: {
                choices: readonly ["cue", "full", "grace-cue", "large"];
                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 contents: readonly [{
        type: "required";
        value: {
            label: "note-type-value";
            type: "label";
            value: {
                choices: readonly ["whole", "1024th", "512th", "256th", "128th", "64th", "32nd", "16th", "eighth", "half", "quarter", "whole", "breve", "long", "maxima"];
                type: "choices";
            };
        };
    }]
  • Readonly name: "type"
schema: {
    attributes: {
        size: {
            type: "optional";
            value: {
                choices: readonly ["cue", "full", "grace-cue", "large"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            label: "note-type-value";
            type: "label";
            value: {
                choices: readonly ["whole", "1024th", "512th", "256th", "128th", "64th", "32nd", "16th", "eighth", "half", "quarter", "whole", "breve", "long", "maxima"];
                type: "choices";
            };
        };
    }];
    name: "type";
} = ...

Type declaration

  • Readonly attributes: {
        size: {
            type: "optional";
            value: {
                choices: readonly ["cue", "full", "grace-cue", "large"];
                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 contents: readonly [{
        type: "required";
        value: {
            label: "note-type-value";
            type: "label";
            value: {
                choices: readonly ["whole", "1024th", "512th", "256th", "128th", "64th", "32nd", "16th", "eighth", "half", "quarter", "whole", "breve", "long", "maxima"];
                type: "choices";
            };
        };
    }]
  • Readonly name: "type"

Methods

  • Gets

    Returns "whole" | "1024th" | "512th" | "256th" | "128th" | "64th" | "32nd" | "16th" | "eighth" | "half" | "quarter" | "breve" | "long" | "maxima"

  • Gets

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

  • Sets

    Parameters

    • noteTypeValue: "whole" | "1024th" | "512th" | "256th" | "128th" | "64th" | "32nd" | "16th" | "eighth" | "half" | "quarter" | "breve" | "long" | "maxima"

    Returns Type

Generated using TypeDoc