The note object

Type: Dictionary

The note object defines a single note within an event, along with other information pertaining to the note itself rather than to its containing event.


Name Type Required? Description
"accidentalDisplay" accidental display object No Information about the displayed accidental for this note. This is required for any note that has a displayed accidental.
"class" style class object No
"id" id object No
"perform" perform options object No Controls whether this note is performed by consuming software.
"pitch" pitch object Yes The note's sounded pitch.
"smuflFont" smufl font object No The SMuFL-compliant font to be used when rendering this note.

The primary purpose of this attribute is to override a global font assignment.
"staff" staff number object No A specific staff index for this note. If not provided, the value is inherited from any ancestor element that specified it. If no ancestor did so, the value is determined automatically according to the implementation’s rendering rules.

The primary purpose of this attribute is to override a default staff assignment at the sequence or event level — as in cross-staff keyboard notation.
"tie" tie object No


This object is used in the following examples:

Accidentals, Articulations, Beams, Beams (across barlines), Beams (hooks), Beams (secondary beam breaks), Beams (with inner grace notes), Clef changes, Dotted notes (augmentation dots), Grace note, Grace notes (beamed), Jumps (D.S. al Fine), Jumps (Dal Segno), Key signatures, Multimeasure rests, Multiple layouts, Multiple voices, Octave shifts (8va), Organ layout, Parts, Repeats, Repeats (more than once repeated), Repeats (with alternate endings, advanced), Repeats (with alternate endings, simple), Repeats (with implied start repeat), Rest positions, Slurs, Slurs (for chords), Slurs (incomplete slurs), Slurs (targeting specific notes), Styling elements (basic), Styling via a class (basic), Tempo markings, Three-note chord and half rest, Ties, Time signatures, Tremolos (single-note), Tuplets, Two-bar C major scale, “Hello world”