URL of experiment: offline [PsychoPy]
Description of the problem: Hi everyone. I’ve created an experiment including audio samples to be read from the spreadsheet and in my experiment there is a routine called attention_check. in the routine I’ve put a custom code to make the routine be played after 10 times running the loop. And what happens after 10 times running the loop is that it play a sound for 2 seconds and then won’t go to the next routine until I press the space bar. This is the code:
if count != 10:
continueRoutine = False
this is the js translation:
if ((count !== 10)) {
continueRoutine = false;
}
The weird thing is that when I run it locally it works perfect but online it play the sound after each running the loop and doesn’t wait for the space bar too. So as my experiment includes audio samples already this sound which belong to the attention_check routine play at the same time with audio samples!!
Does anybody has an idea what’s the problem and what should I do to fix it?
I’ve also put my experiment here if you wanna see the routines and codes.
offline.psyexp (37.4 KB)