Takes SAX Events and serializes them as a standard MIDI file.
The MIDI file generation parts of this class are based on code from the XMidi project, written
by Peter Arthur Loeb (http://www.palserv.com/XMidi/) and used with permission.
The warranty disclaimer of the MIT license (http://www.opensource.org/licenses/mit-license.html)
applies to Peter Arthur Loeb's code.