[LAU] converting MIDI file format 0 to 1?
pedro.lopez.cabanillas at gmail.com
Mon Sep 10 05:53:56 EDT 2007
On Saturday, 8 September 2007 18:00, Ken Restivo wrote:
> On Fri, Sep 07, 2007 at 11:29:29PM -0400, Paul Coccoli wrote:
> > Does anyone know how to convert a MIDI file from format 0 to 1?
> > KeyKit produces the former, seq24 can apparently read the latter. I
> > want to get sequences I generate in KeyKit into seq24.
> > A command line tool would be best, but any suggestions are welcome.
> Kind of tangential to your question, but I posess lots of MIDI format 1
> files that seq24 *cannot* or will not open or import.
> This includes files created with arecordmidi.
> Steps to duplicate the problem:
> 1) record some MIDI from a keyboard using arecordmidi
> 2) verify that you now have a type 1 MIDI file (I use the "file"
> command) 3) open up seq24
> 4) try to get that file in there. It won't, at least on my machine.
It would be interesting to know the command line options used with
arecordmidi. It creates SMF format 0 by default. If you add the -s,
(--split-channels) option to the command line, it creates SMF format 1.
More information about the Linux-audio-user