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

From: Bob van der Poel <bob@email-addr-hidden>
Date: Thu Jan 31 2013 - 00:37:53 EET

On Wed, Jan 30, 2013 at 2:45 PM, Nils Gey <ich@email-addr-hidden> wrote:
> On Wed, 30 Jan 2013 08:19:56 -1000
> Joel Roth <joelz@email-addr-hidden> 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 http://www.mellowood.ca/music/cedars ****
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: bob@email-addr-hidden
WWW:   http://www.mellowood.ca
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Jan 31 00:15:02 2013

This archive was generated by hypermail 2.1.8 : Thu Jan 31 2013 - 00:15:02 EET