Skip to content

️🛠 - Improve error handling  #1

@maxwellmattryan

Description

@maxwellmattryan

Description

When input is syntactically but NOT semantically valid, it is not handled well internally. For example, A9 is a valid note input but it is outside of the MIDI range so the program currently panics and doesn't handle this value.

What should happen if the user enters an input like A9 or 18000Hz? These are syntactically valid inputs but semantically they are invalid because they are outside of the MIDI note range.

Options are:

  • Only display the convertible values and hide the others. If a user enters A9 then display the frequency but don't print any MIDI information because it's invalid.
  • ???

Requirements

TBD

Checklist

  • I have linked the correct milestone and/or project(s)
  • I have added the appropriate labels
  • I have assigned this task to the correct people

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions