Save As MIDI (type 0)

• May 20, 2012 - 16:12

I often use MS to create piano scores that I then use on my keyboard. In order for the left and right hand tracks to remain separate, it seems that the MIDI has to be of type 0, rather than the more commonly used type 1, which is what MS (and other programs) saves MIDIs as. I then have to always use a separate software to convert the MIDI file from type 1 to type 0.

It would therefore be a great time saver if MS were able to Save As MIDIs of the two different types (such that both "MIDI type 1" and "MIDI type 0" appear in the drop-down list of a Save As window)

Thanks!


Comments

Very weird because according to Wikipedia : "A Format 0 file contains a single track and represents a single song performance. Format 1 may contain any number of tracks, enabling preservation of the sequencer track structure, and also represents a single song performance."

In reply to by Nicolas

I know, weird indeed, however my Yamaha NP-V80 can only separaet the tracks of type 0 MIDIs that I transfer into its internal memory

In the software that I use to convert (called GN1:0), type 0 is described as "single track with multiple channels", and type 1 as "logical tracks with single channel per track"

In reply to by zabalza.asier

In case Juan isn't available:

0) Make sure ruby is installed on system
1) Download the scripts and extract files.
2) Make sure the example scripts in the Examples directory, specifically the file entitled [SMFfile0] is in the same directory as [midifile.rb], so copy SMFfile0 into the directory with midifile.rb
3) I had to edit SMFfile0 to change the line including midifile.rb to include a ./ like so:

require './midifile.rb'

4) After saving this, run the command as per README:

ruby SMFfile0 path/to/midifile.midi output.midi

output.midi will be a type0 midi file.

Hope that helps.

P.S., if all else fails, use the free Sekaiju on Windows/wine, as it allows for saving in Type-0 format:

https://openmidiproject.osdn.jp/Sekaiju_en.html

Do you still have an unanswered question? Please log in first to post your question.