psychopy.org | Reference | Downloads | Github

Sound files cannot finish playing in nested loops

sound

#1

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!


#2

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.