The <staff-tuning> element

Parent element: <staff-details>

The <staff-tuning> element specifies the open, non-capo tuning of the lines on a tablature staff.

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

Hierarchy

  • StaffTuning

Implements

Constructors

Properties

schema: {
    attributes: {
        line: {
            type: "required";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: typeof TuningStep;
    }, {
        type: "optional";
        value: typeof TuningAlter;
    }, {
        type: "required";
        value: typeof TuningOctave;
    }];
    name: "staff-tuning";
} = StaffTuning.schema

Type declaration

  • Readonly attributes: {
        line: {
            type: "required";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
    }
    • Readonly line: {
          type: "required";
          value: {
              max: number;
              min: 1;
              type: "int";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            max: number;
            min: 1;
            type: "int";
        }
        • Readonly max: number
        • Readonly min: 1
        • Readonly type: "int"
  • Readonly contents: readonly [{
        type: "required";
        value: typeof TuningStep;
    }, {
        type: "optional";
        value: typeof TuningAlter;
    }, {
        type: "required";
        value: typeof TuningOctave;
    }]
  • Readonly name: "staff-tuning"
schema: {
    attributes: {
        line: {
            type: "required";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: typeof TuningStep;
    }, {
        type: "optional";
        value: typeof TuningAlter;
    }, {
        type: "required";
        value: typeof TuningOctave;
    }];
    name: "staff-tuning";
} = ...

Type declaration

  • Readonly attributes: {
        line: {
            type: "required";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
    }
    • Readonly line: {
          type: "required";
          value: {
              max: number;
              min: 1;
              type: "int";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            max: number;
            min: 1;
            type: "int";
        }
        • Readonly max: number
        • Readonly min: 1
        • Readonly type: "int"
  • Readonly contents: readonly [{
        type: "required";
        value: typeof TuningStep;
    }, {
        type: "optional";
        value: typeof TuningAlter;
    }, {
        type: "required";
        value: typeof TuningOctave;
    }]
  • Readonly name: "staff-tuning"

Methods

Generated using TypeDoc