Пример #1
0
        public Note Recognize(string token)
        {
            try
            {
                return(NoteNamer.FromName(token, this.Format));
            }
            catch (NoteFormatException)
            {
            }
            catch (ArgumentOutOfRangeException)
            {
            }

            // empty value instead ???
            return(null);
        }
Пример #2
0
 public static Note FromName(string note)
 {
     return(NoteNamer.FromName(note, MidiOctaveFormat.Standard));
 }