touchgadget / esp32-usb-host-demos

ESP32S2 Arduino USB host printer, MIDI, and keyboard demos
MIT License
120 stars 15 forks source link

MIDI Host Output Sysex issue #11

Open mdroberts1243 opened 1 year ago

mdroberts1243 commented 1 year ago

Hi @touchgadget

Thank-you very much for these examples!

I am working with a Launchpad and I've successfully received MIDI Note events from it and been able to send MIDI Note events to turn on the LEDs on particular pads. These are 4 byte long.

But I can't seem to send Sysex commands that are 6, 8 or even 9 bytes long. It seems to send the first couple of times (with no effect) and then I get a usb_host_transfer submit Out fail: error of 10c. Some of these commands don't have a response and others are supposed to, but I never see a response printed out.

Can you perhaps steer me in a direction to look for a solution to this? Or where to look for a problem?

Thanks, -mark.

probonopd commented 1 year ago

Hello @mdroberts1243, it looks like we are working on similar things. Could you share your code to send MIDI Note events to turn on the LEDs on particular pads?

Here is my code, but I can't quite get it to work yet: https://github.com/probonopd/esp32s2-seq

Am I doing it wrong?