Formats
The Standard MIDI File format is different from native MIDI
protocol, because the events are time-stamped for playback in
the proper sequence.
Standard MIDI Files come in two basic varieties: a Type 1
file, and a Type 0 file (a Type 2 was also specified
originally but never really caught on, so we won't spend any
time discussing it here). In a Type 1 file individual parts
are saved on different tracks within the sequence. In a Type 0
file everything is merged onto a single track.
Making SMFs
Musical performances are not usually created as SMFs; rather a
composition is recorded using a sequencer such as Digital
Performer, Cubase, Sonar etc. that saves MIDI data in it's own
format. However, most if not all sequencers an ‘Save As' or
‘Export' as a Standard MIDI File.
Compositions in SMF format can be played using most media
players such as Windows Media Player™ (WMP) on a PC and
QuickTime™ on a Mac. QuickTime™ will automatically convert a
SMF into a QuickTime movie. Both WMP and QuickTime™ assumes a
SMF will be scored for GM in terms of drums on MIDI Channel
10, Program Changes etc.
SMFs on Macs
The PC file extension for an SMF is .MID. Macs do not
generally require to ‘see' the .MID extension in order for the
file to be utilized but PC-based applications generally do. If
a Mac-created SMF is to be loaded into a PC-based application
and does not have its .MID extension you may well be able to
simply type in the
extension after the file name in order for it to be
recognized!
Setup Data
An SMF not only contains regular MIDI performance data –
Channelized notes, lengths, pitch bend data etc – it also
should have data (commonly referred to as a ‘header') that
contains additional set-up data (tempo, instrument selections
per Channel, controller settings, etc.) as well as song
information (copyright notices, composer, etc.).
How good, or true to its originally created state an SMF will
sound can depend a lot on the header information. The header
can exert control over the mix, effects, and even sound
editing parameters in order to minimize inherent differences
between one soundset and another. There is no standard set of
data that you have to put in a header (indeed such data can
also be placed in a spare ‘set-up' bar in the body of the file
itself) but generally speaking the more information you
provide for the receiving sound device the more defined – and
so, presumably, the more to your tastes – the results will be.
Depending upon the application you are using to create the
file in the first place, header information may automatically
be saved from within parameters set in the application, or may
need to be manually placed in a ‘set-up' bar before the music
data commences.
Information that should be considered (per MIDI Channel)
includes: