Many thanks for your replies !!
I managed to do something a bit betweeen both.
If anyone else need it --> :
I inserted a routine at the beginning of my loop in which I added the sound component (let’s call him “sound_1”) with no stop time and a code component in which I put in the Each Frame tab
if t >=0:
sound_1.pause()
continueRoutine = False
I had to this because between the 1st and the 2nd routine, the sound was starting from the beginning again , which was not the case for the other routines.
Then, for each of the other routines, i added a code component containing in the Begin Routine tab
sound_1.play()
And in the End Routine tab
sound_1.pause()
It works perfectly !
Many thanks !!!