[LAU] command line midi player for >1 files? (Ecasound for midi?)
len at ovenwerks.net
Wed Jan 30 21:03:59 UTC 2013
On Wed, January 30, 2013 6:47 am, Nils Gey wrote:
> tl;dr: is there a command line tool where I can give several midi files,
> and a jack input port for each, and it plays them back in sync?
> Preferably with a clean exit when the last file is finished.
> long version what I tried so far:
> I hacked together a quick python script around jack-smf-player a while ago
> but that was sub-optimal since I either get a synched start (by using jack
> transport for all players and sleeping a bit before playback) but no
> automatic exit, since jack-smf-player can't do auto-exit with jack
> transport. So I had to loop over all open PIDs and kill them which
> produced xruns and jack hiccups, it also took long.
> Or I got a clean exit, using the play-and-exit mode, but then I got no
> sync since each player just starts when it is ready. Even syncing them up
> with python did not help because it is music and every ms delay counts.
> Does such an sequencer without a GUI exist?
midish by itself does not do that, but I think if nama runs midish it
can... if not it is on the nama todo list. The nama author might be
willing to give hints on what needs to be done anyway.
More information about the Linux-audio-user