There seems to be a significance of one bar, certain notes happen every bar at roughly the same position. But how can I calculate how many ticks there are per bar using ticks per beat of the song and and tempo of the track?
Since the bars are lined up for all tracks, I assume that ticks per bar is independent of tempo.