public Note Recognize(string token) { try { return(NoteNamer.FromName(token, this.Format)); } catch (NoteFormatException) { } catch (ArgumentOutOfRangeException) { } // empty value instead ??? return(null); }
public static Note FromName(string note) { return(NoteNamer.FromName(note, MidiOctaveFormat.Standard)); }