Any luck with the metronome denominator?

Maybe this approach would be better.
Just use a controller for Gig Performer and let do the rest via scripting and M4L

Sync Ableton Live with Gig Performer