Pico: How to send/receive USB Gadget MIDI Sysex Traffic via Network? #1018
Replies: 2 comments
-
This depends on the MIDI over USB backend used. USB descriptors are often configured by the Arduino core or by other libraries. If you're using a Pi Pico with the Adafruit TinyUSB backend, you can use the following: #include <Control_Surface.h>
USBMIDI_Interface midi;
void setup() {
TinyUSBDevice.setManufacturerDescriptor("ajackson99");
TinyUSBDevice.setProductDescriptor("John Doe Inteface");
midi.backend.backend.setCableName(1, "Port C");
midi.begin();
// ...
} (
What do you mean?
You can find more information here:
The |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your hint! This was the missing point by me:
Will try this out soon and report back.
Yes, i noticed this before and was able to build the AppleMIDI example - works fine. I meant if there exists an example how to setup both MIDI interfaces on the pico w:
|
Beta Was this translation helpful? Give feedback.
-
Hey,
my requirements:
The detailed description:
Pico is connected to an iPad via CamKit - an App interacts only if if the ProductDescriptor is f.Ex "JohnDoe Interface" with Portname "Port C" (CoreMIDI)
Now, i would like to be able to interact with the Pico from a remote host. That means send and receive Sysex Messages.
The problem i have, it seems not be possible to set custom descriptor-/cable names in Controls Surface.
With TinyUSB its possible - but the pipes seem not to be compatible with TinyUSB.
F.ex:
TinyUSBDevice.setProductDescriptor("John Doe Inteface");
usb_midi.setCableName(1, "Port C");
Is there any easy possibility to achieve this with Control Surface?
If yes, how to setup a pipe which mirrors the traffic via Network?
Tried a lot but no success till now.
Any hints?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions