The <feature> element

Parent element: <grouping>

The <feature> element is a part of the element used for musical analysis. The type attribute represents the type of the feature and the element content represents its value.

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

Hierarchy

  • Feature

Implements

Constructors

Properties

attributes: FeatureAttributes
contents: FeatureContents
schema: {
    attributes: {
        type: {
            type: "optional";
            value: {
                type: "string";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            type: "string";
        };
    }];
    name: "feature";
} = Feature.schema

Type declaration

  • Readonly attributes: {
        type: {
            type: "optional";
            value: {
                type: "string";
            };
        };
    }
    • Readonly type: {
          type: "optional";
          value: {
              type: "string";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
  • Readonly contents: readonly [{
        type: "required";
        value: {
            type: "string";
        };
    }]
  • Readonly name: "feature"
schema: {
    attributes: {
        type: {
            type: "optional";
            value: {
                type: "string";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: {
            type: "string";
        };
    }];
    name: "feature";
} = ...

Type declaration

  • Readonly attributes: {
        type: {
            type: "optional";
            value: {
                type: "string";
            };
        };
    }
    • Readonly type: {
          type: "optional";
          value: {
              type: "string";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
  • Readonly contents: readonly [{
        type: "required";
        value: {
            type: "string";
        };
    }]
  • Readonly name: "feature"

Methods

Generated using TypeDoc