FMidiWriter

Writes MIDI data to an SMF (Standard MIDI Format) file.