HarmonyAttributes: {
    arrangement: "horizontal" | "vertical" | "diagonal" | null;
    color: string | null;
    default-x: number | null;
    default-y: number | null;
    font-family: string | null;
    font-size: "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | "xx-large" | number | null;
    font-style: "normal" | "italic" | null;
    font-weight: "normal" | "bold" | null;
    id: string | null;
    placement: "above" | "below" | null;
    print-frame: "yes" | "no" | null;
    print-object: "yes" | "no" | null;
    relative-x: number | null;
    relative-y: number | null;
    system: "none" | "only-top" | "also-top" | null;
    type: "alternate" | "explicit" | "implied" | null;
}

Type declaration

  • arrangement: "horizontal" | "vertical" | "diagonal" | null

    Specifies how multiple harmony-chords are arranged relative to each other. Harmony-chords with vertical arrangement are separated by horizontal lines. Harmony-chords with diagonal or horizontal arrangement are separated by diagonal lines or slashes.

  • color: string | null

    Indicates the color of an element.

  • default-x: number | null

    Changes the computation of the default horizontal position. The origin is changed relative to the left-hand side of the note or the musical position within the bar. Positive x is right and negative x is left.

    This attribute provides higher-resolution positioning data than the <offset> element. Applications reading a MusicXML file that can understand both features should generally rely on this attribute for its greater accuracy.

  • default-y: number | null

    Changes the computation of the default vertical position. The origin is changed relative to the top line of the staff. Positive y is up and negative y is down.

    This attribute provides higher-resolution positioning data than the placement attribute. Applications reading a MusicXML file that can understand both attributes should generally rely on this attribute for its greater accuracy.

  • font-family: string | null

    A comma-separated list of font names.

  • font-size: "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | "xx-large" | number | null

    One of the CSS sizes or a numeric point size.

  • font-style: "normal" | "italic" | null

    Normal or italic style.

  • font-weight: "normal" | "bold" | null

    Normal or bold weight.

  • id: string | null

    Specifies an ID that is unique to the entire document.

  • placement: "above" | "below" | null

    Indicates whether something is above or below another element, such as a note or a notation.

  • print-frame: "yes" | "no" | null

    Specifies the printing of a frame or fretboard diagram.

  • print-object: "yes" | "no" | null

    Specifies whether or not to print an object. It is yes if not specified.

  • relative-x: number | null

    Changes the horizontal position relative to the default position, either as computed by the individual program, or as overridden by the default-x attribute. Positive x is right and negative x is left. It should be interpreted in the context of the element or directive attribute if those are present.

  • relative-y: number | null

    Changes the horizontal position relative to the default position, either as computed by the individual program, or as overridden by the default-x attribute. Positive x is right and negative x is left. It should be interpreted in the context of the element or directive attribute if those are present.

  • system: "none" | "only-top" | "also-top" | null

    Distinguishes elements that are associated with a system rather than the particular part where the element appears.

  • type: "alternate" | "explicit" | "implied" | null

    If there are alternate harmonies possible, this can be specified using multiple <harmony> elements differentiated by type. Explicit harmonies have all note present in the music; implied have some notes missing but implied; alternate represents alternate analyses.

Generated using TypeDoc