Added support for different Ticks per Quarter Note values read from the
MIDI file