I’ve noticed that the length of the first audio file under the “audio” column in the excel is what determines the length of the rest of the audio file, so that “generic.wav” is 3 seconds long, and the rest will play up to 3 seconds but no longer
I am having the same issue! I have a loop going through 40 audio files all ~4-7 seconds in length. But all the files will only play for as long as the duration of the shortest file in the list (i.e. the 7 sec. files are getting cut off after 4 sec.).
How can I remedy this so that all audio files play for their full duration? I have tried setting the duration at various intervals as well as leaving it infinite.
Actually, I found a solution- go to preferences, and delete the '‘sounddevice’ library. When using the other libraries, PsychoPy updates the length of the sound file in every frame of the loop.