The <bass> element

Parent element: <harmony>

The <bass> element is used to indicate a bass note in popular music chord symbols, e.g. G/C. It is generally not used in functional harmony, as inversion is generally not used in pop chord symbols. As with <root>, it is divided into step and alter elements, similar to pitches.

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

Hierarchy

  • Bass

Implements

Constructors

Properties

attributes: BassAttributes
contents: BassContents
schema: {
    attributes: {
        arrangement: {
            type: "optional";
            value: {
                choices: readonly ["horizontal", "vertical", "diagonal"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        type: "optional";
        value: typeof BassSeparator;
    }, {
        type: "required";
        value: typeof BassStep;
    }, {
        type: "optional";
        value: typeof BassAlter;
    }];
    name: "bass";
} = Bass.schema

Type declaration

  • Readonly attributes: {
        arrangement: {
            type: "optional";
            value: {
                choices: readonly ["horizontal", "vertical", "diagonal"];
                type: "choices";
            };
        };
    }
    • Readonly arrangement: {
          type: "optional";
          value: {
              choices: readonly ["horizontal", "vertical", "diagonal"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["horizontal", "vertical", "diagonal"];
            type: "choices";
        }
        • Readonly choices: readonly ["horizontal", "vertical", "diagonal"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        type: "optional";
        value: typeof BassSeparator;
    }, {
        type: "required";
        value: typeof BassStep;
    }, {
        type: "optional";
        value: typeof BassAlter;
    }]
  • Readonly name: "bass"
schema: {
    attributes: {
        arrangement: {
            type: "optional";
            value: {
                choices: readonly ["horizontal", "vertical", "diagonal"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        type: "optional";
        value: typeof BassSeparator;
    }, {
        type: "required";
        value: typeof BassStep;
    }, {
        type: "optional";
        value: typeof BassAlter;
    }];
    name: "bass";
} = ...

Type declaration

  • Readonly attributes: {
        arrangement: {
            type: "optional";
            value: {
                choices: readonly ["horizontal", "vertical", "diagonal"];
                type: "choices";
            };
        };
    }
    • Readonly arrangement: {
          type: "optional";
          value: {
              choices: readonly ["horizontal", "vertical", "diagonal"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["horizontal", "vertical", "diagonal"];
            type: "choices";
        }
        • Readonly choices: readonly ["horizontal", "vertical", "diagonal"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        type: "optional";
        value: typeof BassSeparator;
    }, {
        type: "required";
        value: typeof BassStep;
    }, {
        type: "optional";
        value: typeof BassAlter;
    }]
  • Readonly name: "bass"

Methods

  • Gets

    Returns null | "diagonal" | "horizontal" | "vertical"

Generated using TypeDoc