psychopy.org | Reference | Downloads | Github

Audio file cut off after 2 seconds

sound

#1

I have an experiment that presents three images sequentially plus an audio file, all of them taken from an excel file loop.

The first image and the sound file start at the same time, but when the second file is introduced, the sound file is suddenly cut off.

I’ve tried simplifying the routine to include only the sound file, and it is still cut off after 2 seconds (no duration is set in the experiment).

This does not happen when the sound file is played directly in the experiment (not through and excel routine).

I am running Psychopy 3 on Windows 10
Any ideas? Thanks
Jose


#2

Hi @Jose_Camacho, I am not clear what you are doing in your experiment. Would you be able to upload a minimal working example with the error?


#3

Hi @dvbridges, thanks. I’ve uploaded the samples here: https://drive.google.com/open?id=1pmiPWoEoA7PqLYKp9pqlZ7F5vs5UmCz2

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


#4

Great, thanks. Can you please two audio files as an example, one short and one long?


#5

Done (same link as above). Thanks