hanonThirdShown function

bool hanonThirdShown(
  1. HanonThirdsTone tone,
  2. int k, {
  3. required bool right,
})

Se o livro escreve os dedos da terça k: as do 1.º compasso e as que levam o polegar (o dedo 1 numa das duas notas).

Implementation

bool hanonThirdShown(HanonThirdsTone tone, int k, {required bool right}) {
  if (k < 8) return true;
  final f = hanonThirdFingers(tone, k, right: right);
  return f.low == 1 || f.high == 1;
}