nextRound method

  1. @override
Future<ExerciseRound> nextRound(
  1. Random rng, {
  2. int roundIndex = 0,
})
override

Cada rodada é um sorteio novo do passo de agora; a pergunta leva a grafia (TI03), para o bemol aparecer como bemol.

Implementation

@override
Future<ExerciseRound> nextRound(Random rng, {int roundIndex = 0}) async {
  final step = _step;
  return QuestionRound([
    for (final pitch in generateFindKeys(step, rng))
      Question(
        expectedPitch: pitch.midi,
        spelled: pitch,
        anyOctave: step.anyOctave,
      ),
  ]);
}