diff --git a/src/commands/freq.rs b/src/commands/freq.rs index 11e1bd5..b8bc8ed 100644 --- a/src/commands/freq.rs +++ b/src/commands/freq.rs @@ -48,7 +48,6 @@ pub(crate) fn frequency_to_midi_note(frequency: f32) -> Option { } } -// TODO: Would be create to support inputs with the unit appended e.g. 440Hz or 440 Hz fn try_frequency_from_str(arg: &str) -> FNoteResult { let regex = Regex::new(r"^\d+(\.\d+)?$").unwrap(); if regex.is_match(arg) { diff --git a/src/commands/note.rs b/src/commands/note.rs index da367ef..390b2df 100644 --- a/src/commands/note.rs +++ b/src/commands/note.rs @@ -29,7 +29,6 @@ impl Command for NoteCommand { } } -// TODO: Better UX for valid music notes outside of MIDI value range. /// Converts a music note to a MIDI note number. fn music_note_to_midi_note_number(music_note: &str) -> FNoteResult { let note_to_semitone = [