I am sorry for the lack of information. Here are some more details:
This is the main flow of the experiment. In the trial routine, all the components start at 0.5 sec.
In the trial, I am trying to play five .wav files of the following durations:
- 5.04 sec, 5.40 sec, 1.52 sec, 1.57 sec, and 1.48 sec
Here are the properties of the sound component in the trial routine:
I kept the Stop (duration) field black so that all the sounds are played in full. [The Stop (duration) in components “text_3” and “key_resp_3” are also blank.]
The value “$sounds” in Sound field is the column title of the sound names in the conditions file.
THE ISSUE HERE:
The problem I am facing is that “most of the times” I run the experiment the longer files don’t play in full (though the short ones play ok). It sounds like only the first 1 or 1.5 seconds are played and the rest is silence for that sound. The experiment, however, runs in full; each of the sounds is being attempted, as expected.
The reason I am saying it happens “most of the times” is that, the sounds play fine sometimes. For example, I ran it five times, and it worked fine in 1 or 2 runs. I tried to restart PsychoPy before each run (and manually remove the ‘…lastrun.py’ file) and run the experiment 10 times out of which it failed 6 times.
I’d appreciate any help! Thanks a lot!