Recommendations - chaining odd patterns

Hi - I’ve got a drum track (audio, fixed tempo) which has a sequence of odd time-sig patterns; eg it might be four bars of 7/4, two bars of 5, three of 4, etc., in a loop.

I’ve got a monome 128 monobright working with Max under Windows, but I’m new to sequencing. I was wondering if it would be possible to configure, eg, meadowphysics to follow a sequence like this, or if there’s anything else that might be more suitable…? (I was hoping to be able to set something running and let it follow the changes automatically, but if that’s too difficult I can break it up into sections with meadowphysics.)