Dan, it seems there's a misunderstanding regarding Tempo Maps.
A tempo map functions as the master timekeeper for a song, similar to the role of a live drummer, and all tracks are required to synchronize with it.
MIDI files are designed to work with tempo maps, which guarantees their alignment, eliminating any potential issues.
My YouTube channel features comprehensive playlists on this subject. However, as the state of the art has advanced, numerous individuals have contributed improved explanations.
https://www.youtube.com/channel/UCRXEM4HzXZAXGQKlR3d3Z4g