-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to create more than 1 MIDI PortIn
or PortOut
#9893
Comments
The current MIDI descriptor we use is here: https://github.com/adafruit/circuitpython/blob/main/shared-module/usb_midi/__init__.c To construct this dynamically would be a lot of code, and would not fit on some smaller boards that currently provide MIDI. An alternative would be to let the user supply their own descriptor, or some part of it. We allow that for custom HID devices. If you could record and supply the fancier USB MIDI descriptor from an Arturia device, that would be helpful. Having said that, this is the first time we've gotten a request for fancier MIDI, so this would be a long-term project. We would welcome a generalized PR if anyone is interested in working on this. |
Thanks @dhalbert. All I am looking for is to have 2 MIDI PortIn and 2 PortOut instead of 1 each, on the Pi Pico. Currently I have:
I would like to add:
In other words, I would like to also have So are you saying that this would currently require rebuilding CircuitPython in C? I don't have an Arturia device at hand. |
Looks like all I'd need is a way, from Python, to change the
Unfortunately, there is currently no way to do that from Python, is there? |
The current USB MIDI descriptor is fixed, and describes one MIDI device with two ports, one In and one Out. Do you want one device with four ports, two In and two Out? Or do you want two independent MIDI devices? |
I am looking for either
|
Thanks for this library which allowed me to prototype a MIDI controller rapidly.
Some MIDI controllers expose more than one MIDI interface, and I need to recreate that using Adafruit_CircuitPython_MIDI on a Raspberry Pi Pico.
However,
circuitpython/shared-bindings/usb_midi/PortOut.c
Lines 21 to 24 in 79fd8b7
The same goes for
usb_midi.PortIn
.It would be extremely useful if it was possible to create more than one MIDI interface per direction.
If that is not possible, then being able to choose the MIDI "cable number" would already be helpful.
References:
The text was updated successfully, but these errors were encountered: