Dear Maintainer,
mido 1.2.10 has a bug rendering it useless for creating virtual ports.
The bug has been reported upstream, acknowledged and fixed. The fix has
been in mido since 1.3.0, which was the next release after 1.2.10.
mido is currently at 1.3.3.
The bug occurs when a program using mido creates two or more "virtual"
ports. These are ALSA Sequencer MIDI ports that let the user choose how
to connect them (via aconnect or other tools). This is not uncommon, and
packages like touchosc2midi do this.
The bug causes the 2nd and subsequent ports to have mangled names,
making them difficult or impossible to use.
You can find details of this bug, and easy repro steps in these two
upstream bugs:
https://github.com/mido/mido/issues/610
https://github.com/mido/mido/issues/471
The package authors acknowledged both bugs, and the fix was made in
this change:
https://github.com/mido/mido/commit/70b9a17
If there are reasons to not pull the python3-mido package forward to
1.3.0 or 1.3.3... then it would good to including the fix in the commit
above as a patch in the debian packaging of 1.2.10. The change is very
small and applies cleanly to 1.2.10.
I'm happy to assist in any way here, including supplying a pull request
for the packaging if you like.
- Mark