The <swing-type> element

Parent element: <swing>

The <swing-type> element specifies the note type, either eighth or 16th, to which the <first> to <second> ratio is applied. The value is eighth if this element is not present.

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

Hierarchy

  • SwingType

Implements

Constructors

Properties

schema: {
    attributes: {};
    contents: readonly [{
        type: "required";
        value: {
            label: "eighth";
            type: "label";
            value: {
                choices: readonly ["eighth", "16th"];
                type: "choices";
            };
        };
    }];
    name: "swing-type";
} = SwingType.schema

Type declaration

  • Readonly attributes: {}
    • Readonly contents: readonly [{
          type: "required";
          value: {
              label: "eighth";
              type: "label";
              value: {
                  choices: readonly ["eighth", "16th"];
                  type: "choices";
              };
          };
      }]
    • Readonly name: "swing-type"
    schema: {
        attributes: {};
        contents: readonly [{
            type: "required";
            value: {
                label: "eighth";
                type: "label";
                value: {
                    choices: readonly ["eighth", "16th"];
                    type: "choices";
                };
            };
        }];
        name: "swing-type";
    } = ...

    Type declaration

    • Readonly attributes: {}
      • Readonly contents: readonly [{
            type: "required";
            value: {
                label: "eighth";
                type: "label";
                value: {
                    choices: readonly ["eighth", "16th"];
                    type: "choices";
                };
            };
        }]
      • Readonly name: "swing-type"

      Methods

      Generated using TypeDoc