Пример #1
0
        private NoteName GetRootNoteFromChordName(string chordName)
        {
            if (chordName.Length == 1 || chordName[1] != '#')
            {
                return(NoteName.GetNote(chordName[0].ToString()));
            }

            return(NoteName.GetNote(chordName.Substring(0, 2)));
        }