Timing class
Constructors
- Timing(NoteType type, int nth)
- Timing.ofEighthNote(int nth)
- Timing.ofHalfNote(int nth)
- Timing.ofQuarterNote(int nth)
- Timing.ofSixteenthNote(int nth)
- Timing.ofWholeNote(int nth)
- Timing.withinNoteList({required int listLength, required int noteIndex})
-
Create a Timing for a Note using Timing.unspecified based on the
index of the Note in a List
factory
Properties
Methods
-
add(
Timing timing) → Timing -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toSixteenthNth(
) → int - Resolves the Timing.nth value as a NoteType.sixteenth note
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator +(
Timing timing) → Timing -
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
notesPerMeasureToNoteType(
int noteCount) → NoteType - Resolves NoteType based on the number of Notes in a measure
Constants
- unspecified → const Timing