On Wed, 30 Jan 2013 08:19:56 -1000
Joel Roth <joelz(a)pobox.com> wrote:
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?
Joel
Yes, there is a reason. Midi only knows 16 channels and also one port.
If you have 4 midi files, each with 16 channels and each to another port (one for
linuxsampler, one for fluidsynth, one for zynaddsubfy and one for aelous) you can't
mix the midi anymore.
If there was a super-midi (jackmidi .jmid :) ?) format with unlimited channels and
several ports per file and a player for that format you could think about mixing it before
hand.
But if such a format would exist I would export directly to it instead of standard midi
anyway.
There is a MIDI port sequence defined for SMFs. <FF 21 01 pp> which is
supposed to come at the start of a track. It specifies which port on
the computer the track is to be sent to. I've never tired using this
and don't even know if the alsa sequencer code supports it. Might be
worth looking at ... much easier than trying to sync 4 instances of a
player!
--
**** Listen to my CD at
****
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: bob(a)mellowood.ca
WWW: