Mario Lang <mlang(a)delysid.org> writes:
Find it here:
http://delysid.org/emacs/jack.el
Plans:
* Do something useful with xrun output, maybe some stats (suggestions?).
* Add support for dummy and oss drivers, and add remaining ALSA
params.
* Write a patchbay based on jack_lsp and jack_{dis,}connect.
Intelligent completion for jack-{dis,}connect is now done.
For the simplest case, where you only have alsa_pcm with two
capture and two playback ports available, the connection commands
can be used with very few keystrokes:
To connect capture_1 to playback_2:
M-x jack-c RET c TAB 1 RET 2 RET
To disconnect this connection (if it is the only one):
M-x jack-d RET c RET
I.e. whenever jack-{dis,}connect can guess whats comming next,
the field gets filled in and the user doesnt even have to type anything.
Even common prefixes are inserted, i.e. if a client has only
ports starting with capture_, the completion prompt already
inserts this.
You can even think in reverse, if you give jack-connect an input
port as first arg, it will only allow output ports for completion
for the second arg, and automatically reverse the two such that jack_connect
groks the invokation.
Same goes for jack-disconnect, you dont necessarily have to
give the output port as first arg, you can start with the input port.
So long
--
CYa,
Mario