NoteDuration class
Constructors
- NoteDuration(int duration, double midiTicks, double seconds, double timePosition, int dots, String type, double tupletRatio, bool isGraceNote)
- NoteDuration.parse(bool isInChord, bool isGraceNote, String? durationText, int dots, String? type, double? tupletRatio, MusicXMLParserState state)
-
Parse the duration of a note and compute timings.
factory
Properties
- dots ↔ int
-
Number of augmentation dots
getter/setter pair
- duration ↔ int
-
MusicXML duration
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isGraceNote ↔ bool
-
getter/setter pair
- midiTicks ↔ double
-
Duration in MIDI ticks
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seconds ↔ double
-
Duration in seconds
getter/setter pair
- timePosition ↔ double
-
Onset time in seconds
getter/setter pair
- tupletRatio ↔ double
-
Ratio for tuplets (default to 1)
getter/setter pair
- type ↔ String
-
MusicXML duration type
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited