public static int Distance(this NoteName a, NoteName b) { return(Accord.Math.Distance.Modular(a.Index(), b.Index(), 12)); }