hanonTripleRightStaff function

int hanonTripleRightStaff(
  1. int bar
)

A pauta (1 de sol, 2 de fá) em que a direita escreve o compasso bar.

Implementation

int hanonTripleRightStaff(int bar) => bar == 0 || bar >= 14 ? 2 : 1;