You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know if anyone is working on making Control Surface work together with an USB Host Shield.
The idea would be getting input from an usb midi device connected to the usb host shield on an arduino or esp, and then pipe the midi data to the serial TX of the arduino.
Sorry if this has already been accomplished or done, but I cannot seem to find any information about it.
As you can see, you just have to implement 4 functions:
read() that reads a USB MIDI packet from the receive buffer
write() that adds a packet to the send buffer
sendNow() that actually sends the send buffer over the USB bus
preferImmediateSend() that returns true if the sendNow() function should be called after each message, or false if the buffer will be sent automatically and asynchronously.
I don't intend to add support for USB Host shields myself any time soon, because then I'd have to support different shields and many different USB devices that require slightly different drivers, but as shown above, if you have a working USB host library, integrating it with Control Surface should be trivial.
Thank you for your answer. I will try to get it working that way. The goal is to use Control Surface library to create a USB and BLE MIDI to Serial DIN MIDI Interface. Right now I am using the USB Host Shield for USB to Seial MIDI conversion and using Control Surface for BLE to MIDI conversion. However the libraries seem to conflict working together so if I can only use Control Surface for this would be great. Thanks. V
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
@sushyoshi
@tttapa
@sushyoshi
(Transferred from #463)
Beta Was this translation helpful? Give feedback.
All reactions