pub fn parse_note(text: &str, label: OctaveLabel) -> Result<u8, MusicError>Expand description
The MIDI pitch of a note name in a convention: a letter, up to two
sharps or flats and an octave number, such as C4, F#2 or A-1.
ยงErrors
MusicError::UnknownNote for any other text or a pitch outside 0 to
127.