Beat Detection question

I don’t really work with loops and may have misunderstood what you meant, but maybe this is what you’re looking for?