Hi Aaron!
A few notes on your mail: How do you use jack_lsp? Which options do you use?
jack_lsp is capable of listing port properties and connections.
About audio and MIDI: JACK has both audio and MIDI ports. If you want your
tool to be intelligent, you might consider it. I think with options -P lists
properties and with -t you can specify to only display a certain type of ports
(audio/midi I suppose).
How much checking do you do after all? And how much checking would you
eventually be willing to use? (not connecting audio and midi ports, not
connecting output to output...)
I think the easiest way to have a kind of audio and midi tab, you can use
different print/list commands. E.g.: l for listing all ports (probably with a
hint after each name or divided in sections. Then you could have specialised
listing commands la lm. I don't know: How exactly is qjackctl organised? Does
it have seperate tabs for ALSA midi, jackaudio and jackmidi or only alsa and
jack? Depends on how you might wish to seperate.
The other main idea is of course to use different modes. In that case you
might take these modes up in the prompt:
jackctl (audio 'h' for help)> m
jackctl (midi 'h' for help)>
By the way: Thanks for the hint with l. I've just seen it a minute before I
read your mail, since I saw a complete output from jackctl. Still it's very
good to know.
Kindly yours
Julien
--------
Music was my first love and it will be my last (John Miles)
======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de