Atte André Jensen wrote:
1) Can I avoid the client numbers alltogether?
Many ALSA utils can use client/port names instead; it's documented in
the aplaymidi manpage.
This seems to require a way to rename ams, since all
clients are
calles AlsaModularSynth. Is that (starting ams with a specific
clientname?) possible?
Currently not, but it's open source ... :-)
2) Alternately: is there a better way to handle
timing? So app2 will not
start before app1 is up and running?
You could check in a loop whether there is a new sequencer client.
HTH
Clemens