MusicTimes class

Quando cada nota começa e acaba, em milissegundos (a primeira passada).

Constructors

MusicTimes({required Map<String, double> startMs, required Map<String, double> endMs, double? tempoBpm})

Properties

endMs → Map<String, double>
id → quando a nota acaba (o tstamp do primeiro off depois do on).
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startMs → Map<String, double>
id → quando a nota começa (o tstamp do primeiro on, na peça escrita uma vez).
final
tempoBpm → double?
O primeiro tempo do timemap (semínimas por minuto); null se não há.
final

Methods

msAt(MusicPiece piece, double quarters) → double
Os milissegundos no tempo quarters (em semínimas) da piece. Entre as notas da peça, interpola; depois da última, segue o último andamento. Só as diferenças importam: o zero é o do timemap.
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