Media Player audio loop drift

In the end, I just looped the audio file itself in the DAW lengthening the loop in order to reduce the number of repetitions in the media player. It works fine

Triggering the media player with midi signal didn’t work well as it involved a silent bar between two repetitions…
I haven’t tried the sequencers but I’ll take a look

Thanks for your advice