예제 #1
0
        private static ulong GetScaleRegardlessMode(Chord scale)
        {
            IEnumerable <Chord> allModes = GetAllModes(scale).ToList();

            return(allModes.Select(mode => GetModeHashCode(mode)).OrderBy(hashCode => hashCode).First());
        }
예제 #2
0
 public void AddChord(Chord chord, int count)
 {
     chords.Add(chord, count);
 }