Create different tempo ratios linked to an incoming MIDI beat clock

PSG's icon

Hello, all.
I want to multiply and divide an incoming MIDI beat clock pulse so that different parts of a patch can run at different tempos that are all related to—yet still synced with—an incoming beat clock pulse.

I used seq objects with different note values (MIDI files imported from Finale) loaded into them, then ran the seq outputs through bangs to create different beat pulses that I could do things with. HOWEVER, there is a problem in that the seq objects can’t loop on their own, but when I use the seq ending bang to restart the sequence (artificially creating a loop) the timing gets messed up (there is a slight delay before seq restarts). That means my new beat pulses are not played evenly and are therefore unusable.

Is there a better way to create different tempos that are all locked in various ratios to an incoming beat clock?

PS: I'm not sure if this counts as an "advanced" topic or not, but nobody replied when I put it in the "beginner" Level category, so I'm hoping an advanced user might have some insight for me.

I had to add midiparse, unpack, bang, toggle, sel 1 after seq in order to filter out extra midi information/extra bangs.