[LAU] Requesting MIDI port and/or audio port of an application

From: Crypto <crypto@email-addr-hidden>
Date: Mon Aug 11 2008 - 12:15:06 EEST

Hi,

after startup a musical application normally has to connect to an audio port
provided by jack and/or ALSA, and connect to MIDI ports as well, if it
supports MIDI.

What can I do to find out which audio ports and MIDI ports an application
provides?

So far I have been using aconnect to get a GUI list of which MIDI ports are
available, and I have made the connections between MIDI ports manually.

If we are lucky, an application can make the audio connections fully
automatically, i.e. it connects to jackd audio ports automatically, so there
is no user action required for connection. But this does not work with MIDI
ports. I have to make connections between MIDI ports manually.

Unfortunately, connecting to ports manually is not an option in my case
because I have a program running that acts as a kind of host for other
musical applications, and this application (keykit) has to know the port
numbers of audio ports and MIDI ports of external applications that it should
run to make the proper connections between their MIDI ports and their audio
ports.

Aconnect is no option here because with aconnect I have to get the MIDI ports
out of it and then enter the ports manually in keykit. It has to be done by
keykit and a helper tool launched via command line interface.

Keykit can send commands to the system command line so it can launch external
applications.

What can I do? What is Your recommended option to get the MIDI ports and audio
ports via a system command line interface tool?

Thanks for any help and kind regards,
Crypto.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Mon Aug 11 16:15:01 2008

This archive was generated by hypermail 2.1.8 : Mon Aug 11 2008 - 16:15:02 EEST