PlayingTimeMeter class
Quanto tempo o aluno ficou tocando: a soma dos intervalos entre notas tocadas (note-on) que não passam de idleGap segundos. Uma pausa maior (o aluno parou para ler, por exemplo) não entra no total.
Constructors
- PlayingTimeMeter({double idleGap = 30})
Properties
Methods
-
breakSegment(
) → void - Fecha o trecho atual: o próximo toque começa outro, sem contar a pausa.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
Stream< PlayedNote> notes) → void -
Escuta
notesaté stop. -
stop(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited