-
Notifications
You must be signed in to change notification settings - Fork 275
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
C API not working for MIDI input #272
Comments
Did you try the programs in the tests directory? |
Thanks for the reply -no I did not. I ran the programs in a separate directory. This directory contains |
Sorry, I misread your question. I did run the programs in test directory. They all work. However, the C API test doesn't cover the 'get message' function. that is what I am interested in. |
@jg-854 replace |
Great! Can you submit a PR? |
Hi,
I am trying to use the C API and I have built a rudimentary program that listens to the MIDI messages from a keyboard. I know my keyboard works (tested in Garageband, as well as using the testing with qmidiin.cpp). Even though the length of the message after calling the function is 3, the message array doesn't seem to be updated. Why is this?
I tried the C API test function provided in the repo, and that works. Moreover, I am able to retrieve the name of of the device that I am connected to. It is just reading the message that seems to not work.
`
`
I am running on a M1 MBP using Monterey
Thanks!
The text was updated successfully, but these errors were encountered: