Sound echo when playing videos

OS Win10
PsychoPy version v2024,1,4
Standard Standalone? (y/n) Y
What are you trying to achieve?: I am trying to get videos to play and then participants respond. Always the same 3 videos in each counterbalance yet sometimes in the trial there will be a sound echo where the last bit of the video audio will play again. Sometimes it doesn’t echo, which is weird because it is also the same 3 videos and sometimes they work how they are meant to and others they don’t which makes me think it is just a bug that needs to be fixed rather than anything I can do about it.

My study has 3 phases:

Association - they see a series of trials of 3 videos and need to respond with an arrow key to say which video it is. The video has audio built in.

Identification- they see similar to above but this time part of the video is occluded (achieved by putting a rectangle over part of the screen) and need to say which video it is.

RM (representational momentum): they see the same videos but they stop part way through then there is a blank screen then they see an image which they have to say is it the same or different to what they just saw in the video.

An example of the loop:

An example of the Excel:

Counterbalance code (different videos are shown based on the counterbalance):

TriggerCodes refer to EEG triggers so not relevant for this query.

I have tried everything I can think of to get rid of the echo but nothing works. I looked on the forum and tried solutions from there but it doesn’t work. I have tried:

  • Running video for the length of the video then having the response. Get the echo on some trials.
  • Running videos with a blank bit at the end of the video (as per forum suggestions). Get the echo on some trials.
  • Running videos then running a new video that is blank. Get the echo on some trials.
    -Running videos then having a blank image before response. Get the echo on some trials.
    -Using this code in beginroutine; video_playing = False
    video_stop_time = 3.7 # Video duration
    Get the echo on some trials.
  • I’ve tried shortening and lengthening the duration I put in the video stimulus but still get the same result

I don’t know what else to try or whether to just move on from Psychopy because this seems to be a bug that has been in for many years based on the (often un-replied to) forum posts I’ve seen.