private bool IsFullBarJoin(Beat a, Beat b, int barIndex) { return (a.Duration.GetIndex() - 2 - barIndex > 0) && (b.Duration.GetIndex() - 2 - barIndex > 0); }