[LAD] Best way to connect ALSA MIDI ports programmatically in Python?

Clemens Ladisch clemens at ladisch.de
Sun Jan 28 22:33:41 UTC 2018


Jonathan E. Brickman wrote:
> I need to connect ALSA MIDI programmatically, and will prefer to use
> Python.

Just run aconnect. :-)

> I perused a number of libraries, did not find an obvious great
> or best.

Making a connection should be a single function calls, it's either
"works" or "does not work".  Use whatever library you like (or use
pyalsa because it's somewhat official).


Regards,
Clemens


More information about the Linux-audio-dev mailing list