problem with USBhost with more than 1 MIDI port - SOLVED
Hi friends, I'm facing a problem with Teensy 4.1 communicating with a Novation Launchpad mk3, this device has 2 midi ports (through USB)
I get correctly the midi coming from the Launchpad, but to illuminate the pads the midi data has to be sent its second port, and I don't know how to accomplish that.
I have tried this (also without the 2 hub lines), this is how it's done in the example Interface_16x16:
btw the midi messages to illuminate the pads are correct, I have tested plugging both my device and the Launchpad to the computer and using a DAW to connect them.
Thanks in advance.
Hi friends, I'm facing a problem with Teensy 4.1 communicating with a Novation Launchpad mk3, this device has 2 midi ports (through USB)
I get correctly the midi coming from the Launchpad, but to illuminate the pads the midi data has to be sent its second port, and I don't know how to accomplish that.
I have tried this (also without the 2 hub lines), this is how it's done in the example Interface_16x16:
Code:
#include <USBHost_t36.h>
USBHost myusb;
USBHub hub1(myusb);
USBHub hub2(myusb);
MIDIDevice midi1(myusb);
MIDIDevice midi2(myusb);
Thanks in advance.
Last edited: