ticks_per_beat can now be passed to MidiFile() and now defaults to 480.