The <first-fret> element

Parent element: <frame>

The <first-fret> element indicates which fret is shown in the top space of the frame; it is fret 1 if the element is not present.

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

Hierarchy

  • FirstFret

Implements

Constructors

Properties

schema: {
    attributes: {
        location: {
            type: "optional";
            value: {
                choices: readonly ["left", "right"];
                type: "choices";
            };
        };
        text: {
            type: "optional";
            value: {
                type: "string";
            };
        };
    };
    contents: readonly [{
        label: "fret";
        type: "label";
        value: {
            type: "required";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
    }];
    name: "first-fret";
} = FirstFret.schema

Type declaration

  • Readonly attributes: {
        location: {
            type: "optional";
            value: {
                choices: readonly ["left", "right"];
                type: "choices";
            };
        };
        text: {
            type: "optional";
            value: {
                type: "string";
            };
        };
    }
    • Readonly location: {
          type: "optional";
          value: {
              choices: readonly ["left", "right"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["left", "right"];
            type: "choices";
        }
        • Readonly choices: readonly ["left", "right"]
        • Readonly type: "choices"
    • Readonly text: {
          type: "optional";
          value: {
              type: "string";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
  • Readonly contents: readonly [{
        label: "fret";
        type: "label";
        value: {
            type: "required";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
    }]
  • Readonly name: "first-fret"
schema: {
    attributes: {
        location: {
            type: "optional";
            value: {
                choices: readonly ["left", "right"];
                type: "choices";
            };
        };
        text: {
            type: "optional";
            value: {
                type: "string";
            };
        };
    };
    contents: readonly [{
        label: "fret";
        type: "label";
        value: {
            type: "required";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
    }];
    name: "first-fret";
} = ...

Type declaration

  • Readonly attributes: {
        location: {
            type: "optional";
            value: {
                choices: readonly ["left", "right"];
                type: "choices";
            };
        };
        text: {
            type: "optional";
            value: {
                type: "string";
            };
        };
    }
    • Readonly location: {
          type: "optional";
          value: {
              choices: readonly ["left", "right"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["left", "right"];
            type: "choices";
        }
        • Readonly choices: readonly ["left", "right"]
        • Readonly type: "choices"
    • Readonly text: {
          type: "optional";
          value: {
              type: "string";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            type: "string";
        }
        • Readonly type: "string"
  • Readonly contents: readonly [{
        label: "fret";
        type: "label";
        value: {
            type: "required";
            value: {
                max: number;
                min: 1;
                type: "int";
            };
        };
    }]
  • Readonly name: "first-fret"

Methods

Generated using TypeDoc