hanonLegatoChromaticLeftStaff function

int hanonLegatoChromaticLeftStaff(
  1. int bar,
  2. int col
)

Implementation

int hanonLegatoChromaticLeftStaff(int bar, int col) => switch (bar) {
  2 || 3 => 1,
  4 => col == 0 ? 1 : 2,
  _ => 2,
};