SightTuplet class

Um grupo de quiáltera: actual figuras no tempo de normal. A nota que abre o grupo tem start; a que o fecha, stop.

A tercina e as quiálteras que cabem em tiques inteiros (3:2 de colcheias, de semicolcheias) guardam em SightNote.ticks a duração real. Num grupo irregular (5, 6, 7, 9, 11, 13 notas…), a duração real de cada nota não é inteira (sete semicolcheias no tempo de quatro duram 48/7 tiques): o grupo diz a duração dele todo em groupTicks e SightNote.ticks é a figura escrita; a duração real de cada nota é groupTicks / actual (SightNote.span). Vale groupTicks == normal × ticks.

Constructors

SightTuplet(int actual, int normal, {bool start = false, bool stop = false, int? groupTicks})
const

Properties

actual → int
final
groupTicks → int?
A duração do grupo inteiro, em tiques; null na quiáltera de tiques inteiros.
final
hashCode → int
The hash code for this object.
no setterinherited
irregular → bool
Se o grupo é irregular (tem groupTicks).
no setter
normal → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → bool
final
stop → bool
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

Operators

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