public Note Recognize(string token)
        {
            try
            {
                return(NoteNamer.FromName(token, this.Format));
            }
            catch (NoteFormatException)
            {
            }
            catch (ArgumentOutOfRangeException)
            {
            }

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