[LAD] portmidi and alsa

Clemens Ladisch cladisch at fastmail.net
Fri Nov 23 07:34:12 UTC 2007


James Stone wrote:
> I am hacking on a buzz-like tracker, aldrin. It is written in
> Python, but the heavy lifting is done by libzzub, which uses
> portmidi for midi implementation.
> 
> At the moment, midi in devices can be selected, midi out are a
> bit buggy, but I think that should not be too difficult to sort
> out. The main problem which I would like help with, is that the
> midi inputs and outputs from aldrin do not show up in with
> aconnect -lo or -li at all..

Portmidi designed is based on Windows' MME API which doesn't allow
applications to create ports visible to other applications.

> Is it possible to get portmidi to work with alsa correctly in
> this way, or are midi connections always handled within the
> program, connecting to alsa devices, but invisible to aconnect?

You'd have to modify portmidi's source code.


Regards,
Clemens



More information about the Linux-audio-dev mailing list