示例#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));
 }