Open
Description
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:
- My use case: Add DAW Controller support for various Arturia controllers probonopd/MiniDexed#743 (comment)
- Upstream issue: Multi MIDI Device with RP2040 hathach/tinyusb#1295
- Upstream solution in C: https://github.com/rppicomidi/midi-multistream2usbdev - maybe @jepler knows how to adopt this in CircuitPython?