BarlineAttributes: {
    coda: string | null;
    divisions: number | null;
    id: string | null;
    location: "right" | "left" | "middle" | null;
    segno: string | null;
}

Type declaration

  • coda: string | null

    Used for playback when there is a <coda> child element. Indicates the end point for a forward jump to a coda sign. If there are multiple jumps, the value of these parameters can be used to name and distinguish them.

  • divisions: number | null

    If the segno or coda attributes are used, the divisions attribute can be used to indicate the number of divisions per quarter note. Otherwise sound and MIDI generating programs may have to recompute this.

  • id: string | null

    Specifies an ID that is unique to the entire document.

  • location: "right" | "left" | "middle" | null

    Barlines have a location attribute to make it easier to process barlines independently of the other musical data in a score. It is often easier to set up measures separately from entering notes. The location attribute must match where the <barline> element occurs within the rest of the musical data in the score. If location is left, it should be the first element in the measure, aside from the <print>, <bookmark>, and <link> elements. If location is right, it should be the last element, again with the possible exception of the <print>, <bookmark>, and <link> elements. The default value is right.

  • segno: string | null

    Used for playback when there is a <segno> child element. Indicates the end point for a backward jump to a segno sign. If there are multiple jumps, the value of these parameters can be used to name and distinguish them.

Generated using TypeDoc