Description of the problem: I have created an experiment using PsychoPy builder, and everything works perfectly on PsychoPy. The stimuli used following the sequence of experimental block: 1)video stimuli; 2)video stimuli; 3)video stimuli; 4)audio stimuli. I, then uploaded it to Pavlovia. When I tried testing it online, everything is fine, except the first stimulus of the last block, which I use audio stimuli on that block.
I tried to push file again, it still doesn’t work.
Any suggestions or helps would be really appreciated.
Thanks in advanced.
I am using .wav audio and all of the audio are only 2 seconds long.
If not mistaken, there’s one error I always get when the first audio doesn’t play
This is the screenshot of the console:
Update:
I tried to move the code I inserted for the audio stimuli to the top of the routine. It worked at first. But after I made changed on instructions (in previous routine), it fails again. It became a ‘beep’ sound and overlapped with the other stimuli on the rest of the trials.
Okay, I will try that and get back to you later.
Thank you for the suggestion!
Update: I just tried running it without the code and duration. The audio does play without ‘beep’ sound and overlapping, but it return to my initial problem, which the audio doesn’t play on the first trial of this block. I am really clueless on how to solve this
Try putting the start time of the audio component to 1 second.
The only thing I can think of is that the audio takes so long to load on the first iteration that it “misses the boat”. I’ve experienced something similar with video components.
I tried on that, unfortunately it doesn’t work on my case.
But audio plays when changing the sequence of third block (the block just right before audio block) and this audio block.
But, thank you so much for giving these suggestions! I’m really appreciated it