snowsh
Well-known member
Hi, I have ordered some of these:
https://www.ebay.co.uk/itm/314071014765
and some of these:
https://www.ebay.co.uk/itm/183726060573
how would I go about setting up the code for the t4.1 to offer 4 usb midi host ports? I certainly dont need multiple midi "cables" for each of these, just a single midi line with 16 channels per usb port.
I want to be able to plug a midi keyboard and multiple synths into my device for 2 way midi comms over usb. Note I am using the midi client line to run 4 midi cables. might be 16 in the future.
so far i am using this code for one port on the usb host:
ideas?
https://www.ebay.co.uk/itm/314071014765
and some of these:
https://www.ebay.co.uk/itm/183726060573
how would I go about setting up the code for the t4.1 to offer 4 usb midi host ports? I certainly dont need multiple midi "cables" for each of these, just a single midi line with 16 channels per usb port.
I want to be able to plug a midi keyboard and multiple synths into my device for 2 way midi comms over usb. Note I am using the midi client line to run 4 midi cables. might be 16 in the future.
so far i am using this code for one port on the usb host:
Code:
#include <MIDI.h>
#include <USBHost_t36.h>
//USB HOST MIDI Class Compliant
USBHost myusb;
USBHub hub1(myusb);
USBHub hub2(myusb);
MIDIDevice midi1(myusb);
ideas?