Alas, sometimes USB cords get pulled accidentally, or devices get switched off and on. In the middle of a set, I don’t want to have to
aconnect the MIDI ports again!
amidiauto takes care of this for may set ups, but not mine: I have a more complex set up, with specific devices connected to specific places.
amidiminder: This little app simply keeps track of all the ALSA MIDI connections made (whether via
aconnect or via other software, like SuperCollider) - and remembers them by name. If a MIDI device goes away and then later comes back,
amidiminder will connect it back up as it was before. It works even if devices are reconnected in a different order.
This project is working and available on github: https://github.com/mzero/amidiminder
It’s pretty early going, and you’ll have to build it yourself. Open to issues, bug reports, pull requests, and discussion.
Perhaps there is some natural merging of the functionality of this and
amidiauto… seems likely to me, but it wasn’t immediately obvious how to meld it, and the undocumented file feature in