Note class

Constructors

Note(int string, int fret, {bool melody = false, Timing timing = Timing.unspecified, Timing? length, Chord? chord, int? hammerOn, int? pullOff, int? slideTo, Finger? pick, Note? and})

Properties

and → Note?
Additional notes played in tandem
final
chord → Chord?
Chord composed by notes
final
fret → int
1-indexed fret
final
hammerOn → int?
Hammer on fret
final
hashCode → int
The hash code for this object.
no setteroverride
length → Timing?
Length of note
final
melody → bool
Whether melody note
final
pick → Finger?
Which finger plays note
final
pullOff → int?
Pull off fret
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slideTo → int?
Slide to fret
final
string → int
1-indexed string
final
timing → Timing
Time to play note
final

Methods

copyWithTiming(Timing timing) → Note
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sustainReleaseTiming() → Timing
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override