converting midi format 0 to 1

Started by djp, June 03, 2021, 06:51:29 AM

Previous topic - Next topic

djp

Does anyone know if there is an app or programme to convert midi format  `0`   to format 1   please

Kind regards  dj

ckobu

This is a free program with which you can do the conversion.

https://app.box.com/s/j535ipzrox2qt3dpu1alri9v8w2r9l6m

[attachment deleted by admin]
Watch my video channel

overover

Quote from: djp on June 03, 2021, 06:51:29 AM
Does anyone know if there is an app or programme to convert midi format  `0`   to format 1   please

Kind regards  dj

Hi dj,

what's the reason you want to convert SMF0 format to SMF1?

Are you using a specific computer program that can only read format 1?


Best regards,
Chris
● Everyone kept saying "That won't work!" - Then someone came along who didn't know that, and - just did it.
● Never put the Manual too far away: There's more in it than you think! ;-)

Jeff Hollande

This is a very interesting question, IMHO, Chris. Thank you. 😃

Maybe it might be useful for many of us to explain ( again ) what the difference is between midi 0 and midi 1. 
Sorry, I forgot it too. 🤑

Best wishes, JH


MBedesem

From the PSR FAQ  https://psrtutorial.com/lessons/faq/PSRFAQ.htm

C.19. What are the differences between Midi Type 0-1-2 files ?

"Format 0 MIDI files consist of a header-chunk and a single track-chunk. The single track
chunk will contain all the note and tempo information.

Format 1 MIDI files consist of a header-chunk and one or more track-chunks, with all tracks
being played simultaneously. The first track of a Format 1 file is special, and is also known
as the 'Tempo Map'. It should contain all meta-events of the types Time Signature, and Set
Tempo. The meta-events Sequence/Track Name, Sequence Number, Marker, and SMPTE
Offset should also be on the first track of a Format 1 file.

Format 2 MIDI files consist of a header-chunk and one or more track-chunks, where each
track represents an independent sequence." Notice that Midi specification don't associate
midi track with midi channel.
(From the midi specifications courtesy of Mike Baranow)
Michael P. Bedesem
mpb@vermontel.net
http://psrtutorial.com/MB/bedesem.html
Tyros 5

johan

Midi 0 has all data for the MIDI channels combined into a single track while in midi 1 there is more than one track, each with data for individual midi channels. Midi 0 still can embed the channel info however, so most DAW have no issue with "interpreting" a midi 0 file in the correct way.

Most keyboards read both formats but on the E433, the midi files that you use for the "lesson" function, need to be in format 0. Previously, I used the File Uility of Yamaha to convert from midi 1 to midi 0 but the program does not support a conversion in the other direction (which is normally not needed anyway). Note that the naming used by Yamaha is SMF Format 0 and SMF Format 1 (SMF = Standard Midi File).

Link to the File Utility (for Windows) of Yamaha:
https://europe.yamaha.com/en/support/updates/52027_en.html
SX900 and S670
Former keyboards: E433, E463, SX700

C-clef

The essence of MIDI type 0 and type 1 files is this:
Type 0 files have the MIDI notes in one track in the order in which the notes are played.
Type 1 files have the notes in individual tracks associated with the MIDI channels in which they occcur.

It's much easier for a hardware based MIDI file player to process a type 0 file, where it just has to interpret each MIDI 'event' as it 'arrives', regardless of channel.
Each MIDI event incorporates the channel number.

It's not easy for a human being to visualize MIDI events in this way.
We think of 'instruments' on channels, much like a recording studio with instruments on tape tracks.
And so type 1 files are suited to DAW software and human usage.

That's it in a nutshell, simplified of course.

Most of the pieces of sequencing software I've come across are capable of reading and saving in either format, e.g. XGworks.

Colin.