The need of neat MIDI files
MIDI files are usually created by recording keyboard (or other
MIDI instrument) events in a
sequencer. As a consequence, the timing of notes can be 'offbeat'.
MIDI2TEX needs much more 'clean' files to enable correct translation.
Therefore, it is necessary to first clean up the notes in a MIDI
file to be processed.
Many sequencers have a quantize function to align the
start time of notes to a specific timing. That is a good start. If you have
done that listen to the piece again to certify that all notes start at the
correct position. The other thing you may want to do is to quantize the
length of notes. Many notes which are played
(usually short notes) do not fill the complete time they are
supposed to be played. Usually the key is released earlier. If this is not
corrected before starting MIDI2TEX the result is that after such notes a
rest is placed. According to the program no note is sounding there!
Some sequencers can quantize the length of notes
too. If not, you can either edit them manually if your
sequencer permits or you must do a lot of editing after processing
of the file by MIDI2TEX .
So, try to get your input MIDI files as neat as possible.