[LAU] command line midi player for >1 files? (Ecasound for midi?)

Joel Roth joelz at pobox.com
Wed Jan 30 18:19:56 UTC 2013

On Wed, Jan 30, 2013 at 03:47:17PM +0100, Nils Gey wrote:
> Hi,
> 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?

Do the separate audio streams created by this process
ever get mixed together?

If so, is there a reason for the mixing to happen under
JACK, rather than within midi, where command line sequencer
such as midish can do the job?



> 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?
> greetings,
> Nils
> http://www.nilsgey.de
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-user

Joel Roth

More information about the Linux-audio-user mailing list