Note class

Internal representation of a MusicXML

Constructors

Note(int midiChannel, int midiProgram, int velocity, int voice, bool isRest, bool isInChord, bool isGraceNote, NoteDuration noteDuration, MapEntry<String, int>? pitch, Pitch? pitchTypeSafe, Iterable<Lyric>? lyrics, List<Tie> ties)
Note.parse(XmlElement xmlNote, MusicXMLParserState state)
Parse the MusicXML
factory

Properties

continuesOtherNote bool
Returns true if this note is tied to a previous note
no setter
hashCode int
The hash code for this object.
no setterinherited
isContinuedByOtherNote bool
Returns true if this note is tied to a following note
no setter
isGraceNote bool
final
isInChord bool
final
isNoteOff bool
Returns true if this note is not tied to a following note
no setter
isNoteOn bool
Returns true if this note is not tied to a previous note
no setter
isRest bool
final
lyrics Iterable<Lyric>?
getter/setter pair
midiChannel int
final
midiProgram int
final
noteDuration NoteDuration
final
noteDurationTied NoteDuration
Returns the combined duration of tied notes
getter/setter pair
noteId int
Tied notes will have the same note id.
no setter
pitch MapEntry<String, int>?
getter/setter pair
pitchTypeSafe Pitch?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ties List<Tie>
getter/setter pair
velocity int
final
voice int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateNoteId(int id) → void
Initialize the id of the tied note

Operators

operator ==(Object other) bool
The equality operator.
inherited