Precise rythm

Hello people of Audacity!

I have this piece of audio, a drum loop, but it sounds out of line, so how can I arrange it to accuretly loop?

Thanks!!!

Add 0.165 seconds of silence to the end.

Thank you Steve!

So, all I had to do, was to make the second half of the beat equal to the first?

The sample that you posted had one complete “bar” and one bar that was a bit too short.
To make the rhythm loop correctly the entire duration needs to be an exact number of bars.
Adding 0.165 seconds to then end makes the duration exactly 2 bars long.

I get it now. Uau! Thank you again.