Re: [LAU] multitrack export midi type 0 (gramophone2) issue

From: Robin Gareus <robin@email-addr-hidden>
Date: Sat Feb 20 2016 - 17:06:34 EET

On 02/20/2016 03:24 PM, Benoît Rouits wrote:
> Hello,
>
> I have written generative composition with a chomsky grammar parsed by
> and *old* program called gramophone2. Unfortunately, my tests
> composition have multitrack but gramophone2 generates midi type 0 files
> (1 merged track).
>
> So, all midi sequencers i tried does only import track #1 while there
> are 3 or 4 in the midi file with different speeds (i'm playing with yet
> another phasing music). It may be a grammophone2 bug, but before to dive
> into the code (if i find it) how could i convert the generated midi type
> 0 into a type 1 so that tracks speeds can be aligned ?
>

I'd try to dump the midi file to text, separate the tracks using a text
editor (or small script), encode as 3 or 4 midi files.

midicomp [1] or mf2t/t2mf [2] come to mind.

HTH,
robin

[1] https://github.com/markc/midicomp
[2] https://sourceforge.net/projects/mf2t-unix/
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat Feb 20 20:15:03 2016

This archive was generated by hypermail 2.1.8 : Sat Feb 20 2016 - 20:15:04 EET