Represents a single pitch with a duration (length)
The Arpeggio this note is part of.
The transposed (!!!) HalfTone of this note.
States whether this is a cue note (Stichnote) (smaller size).
The amount of notes the tuplet of this note (if there is one) replaces.
The NoteType given in the XML, e.g. quarter, which can be a normal quarter or tuplet quarter -> can have different length/fraction
Color of the notehead currently set. RGB Hexadecimal, like #00FF00. Needs to be stored here and not in Note.Notehead, because Note.Notehead is undefined for normal Noteheads to save space and time.
Color of the notehead given in the XML Notehead tag. RGB Hexadecimal, like #00FF00. This should not be changed, instead noteheadColor is used and modifiable for Rendering. Needs to be stored here and not in Note.Notehead, because Note.Notehead is undefined for normal Noteheads to save space and time.
The untransposed (!!!) source data.
States whether the note should be displayed. False if xmlNode.attribute("print-object").value = "no".
Color of the stem given in the XML Stem tag. RGB Hexadecimal, like #00FF00. This is not used for rendering, which takes VoiceEntry.StemColor. It is merely given in the note's stem element in XML and stored here for reference. So, to read or change the stem color of a note, modify note.ParentVoiceEntry.StemColor.
The stem direction asked for in XML. Not necessarily final or wanted stem direction.
The number of tremolo strokes this note has (16th tremolo = 2 strokes). Could be a Tremolo object in future when there is more data like tremolo between two notes.
The length/duration given in the
Note: May be dangerous to use if ParentStaffEntry.VerticalContainerParent etc is not set. better calculate this directly when you have access to the note's measure. whole rest: length = measure length. (4/4 in a 4/4 time signature, 3/4 in a 3/4 time signature, 1/4 in a 1/4 time signature, etc.) TODO give a Note a reference to its measure?
Generated using TypeDoc