Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error handeling #32

Closed
Lone-Wolf4658 opened this issue Sep 12, 2021 · 3 comments
Closed

Error handeling #32

Lone-Wolf4658 opened this issue Sep 12, 2021 · 3 comments

Comments

@Lone-Wolf4658
Copy link

Hey!
I can't find any way to do error handling.
If you create an output. Then lose connection to the midi console. how can I get an error?
I only get a console message error when trying to send a message on the disconnected output. but is not able to catch it anywhere.
Do you have a solution?

@dinchak
Copy link
Owner

dinchak commented Sep 12, 2021

This project provides a simple translation layer to parse MIDI messages but does not handle the low level MIDI communication with hardware and related error handling. I think you will have to investigate upstream in the https://github.com/justinlatimer/node-midi project.

@Lone-Wolf4658
Copy link
Author

Hmm, okey. Thanks!

@dinchak
Copy link
Owner

dinchak commented Oct 16, 2021

Wanted to mention that the underlying midi package has been updated to version 2.0.0, it might fix your issue! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants