NoteAttributes: {
    attack: number | null;
    color: string | null;
    default-x: number | null;
    default-y: number | null;
    dynamics: number | null;
    end-dynamics: 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;
    pizzicato: "yes" | "no" | null;
    print-dot: "yes" | "no" | null;
    print-leger: "yes" | "no" | null;
    print-lyric: "yes" | "no" | null;
    print-object: "yes" | "no" | null;
    print-spacing: "yes" | "no" | null;
    relative-x: number | null;
    relative-y: number | null;
    release: number | null;
    time-only: string | null;
}

Type declaration

  • attack: number | null

    Alters the starting time of the note from when it would otherwise occur based on the flow of durations - information that is specific to a performance. It is expressed in terms of divisions, either positive or negative. A that stops a tie should not have an attack attribute. The attack and release attributes are independent of each other. The attack attribute only changes the starting time of a note.

  • 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 start of the entire current measure, at either the left barline or the start of the system. 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.

  • dynamics: number | null

    Corresponds to MIDI 1.0's Note On velocity, expressed in terms of percentage of the default forte value (90 for MIDI 1.0).

  • end-dynamics: number | null

    Corresponds to MIDI 1.0's Note Off velocity, expressed in terms of percentage of the default forte value (90 for MIDI 1.0).

  • 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.

  • pizzicato: "yes" | "no" | null

    Used when just this note is sounded pizzicato, vs. the element which changes overall playback between pizzicato and arco.

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

    Controls the printing of an augmentation dot separately from the rest of the note or rest. This is especially useful for notes that overlap in different voices, or for chord sheets that contain lyrics and chords but no melody. If print-object is set to no, this attribute is also interpreted as being set to no if not present.

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

    Indicates whether leger lines are printed. Notes without leger lines are used to indicate indeterminate high and low notes. It is yes if not present unless print-object is set to no. This attribute is ignored for rests.

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

    Controls the printing of a lyric separately from the rest of the note or rest. This is especially useful for notes that overlap in different voices, or for chord sheets that contain lyrics and chords but no melody. If print-object is set to no, this attribute is also interpreted as being set to no if not present.

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

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

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

    Controls whether or not spacing is left for an invisible note or object. It is used only if no note, dot, or lyric is being printed. The value is yes (leave spacing) 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.

  • relative-y: number | null

    Changes the vertical position relative to the default position, either as computed by the individual program, or as overridden by the default-y attribute. Positive y is up and negative y is down.

  • release: number | null

    Alters the stopping time of the note from when it would otherwise occur based on the flow of durations - information that is specific to a performance. It is expressed in terms of divisions, either positive or negative. A <note> that starts a tie should not have a release attribute. The attack and release attributes are independent of each other. The release attribute only changes the stopping time of a note.

  • time-only: string | null

    Shows which times to play the note during a repeated section.

Generated using TypeDoc