Sound files cannot finish playing in nested loops

OS: Win10
PsychoPy version : PsychoPy v3.0.0b7
Standard Standalone?: Y
What are you trying to achieve?: Complete the sound playing inside a nested loop.

What did you try to make it work?:I set up a nested loop for all the .wav files to play

What specifically went wrong when you tried that?:
I use two loops to go through all the sound files.
In the first loop, I set up a .xlsx file to name the rows in each condition: formated as in here '0:5, '5:10, '10:15…
In the second loop, I used a .xlsx file which includes all the intended sound files by specified row order (to coordinate with the row num in th first loop)

When I hit the green running man, all goes well except for the sounds in the last loop.
Although all the sounds are not long enough to reach 1 second, the last loop of files just cannot even finish playing.
(For example, I can just hear a part of the ER sound in the word ‘ear’.)
The problem is that, all the first several loops go well, except for the LAST one.

I’m appreciated for any useful suggestions!
Thank you a lot!

OS Win10
PsychoPy Version: PyschoPy v3.0.0b11

I have the same issue with audio files cutting off. They are individual words and are shorter than 1 sec on average. However, they do cut off before finishing.

I’m sorry for the late reply. However, I also did not solve the problem.
But I alternated to carry out experiments with E-Prime in our lab in the end – partly due to the efficiency of simultaneously carrying out experiments in the lab (with computers installed with E-Prime), and partly to the failure of playing the 1-sec audio.

Hi- I met the issue months ago. Here is one possible way that you may try:
Instead of putting all sound files in one routine, I place only one sound in a routine. So if I have one routine with 3 sounds playing at different time points- right now I inserted blanks between routines to achieve the same function.

…hopefully it helps…?

Hi Ye! Thank you for your message. I definitely would try it out next time. :grinning: