-
Notifications
You must be signed in to change notification settings - Fork 74
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
Does the MIDIusb support play notes on multiple channels? #139
Comments
Hi, |
Thank you for the quick reply @chegewara. I did futher investigation and testing, and figured out that it was caused by the way function tud_midi_stream_write was called. Let's take noteON for example: In your current version, it's defined as:
I looked at the definition of tud_midi_stream_write, the first parameter is: uint8_t cable_num; I'm not sure what's the definition of this cable num, but if I always pass 0 to it, and OR the channel value to the status byte (i.e., buf[0]), then it worked correctly:
Thanks, |
Hello, I would like to ask if this correction has already been implemented, as I am facing the same issue where when I try to use channels other than the default one, the MIDI information transmission fails. Thank you. |
In my case the Windows PC recognises the midi device, but no notes are sent, when i call midi.noteOn(), does anyone have this prob? |
Hello,
When I tried to use the MIDIusb class to send notes (by calling the noteON) with different values of channels, it seems that it only worked for channel 0. Is this a known issue?
Thanks,
Wenbo
The text was updated successfully, but these errors were encountered: