Called whenever a change occurs with the given change.
A change occurs when a new state is emitted.
onChange is called before the state of the cubit is updated.
onChange is a great spot to add logging/analytics for a specific cubit.
Toca a execução. Cada nota vai ao motor no seu tempo; a tecla que soa é publicada; o fim
da rodada volta ao estado "pronta". Quem falhou por falta de som pode tentar de novo.