OS (e.g. Win10): Win 10
PsychoPy version (e.g. 1.84.x): 2021.2.3
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?:
I need to create an active auditory oddball paradigm and measure pupilometry at the same time.
I used the Eyelink system to measure pupil data.
The trial structure is: subjects will hear a standard or target tone for 60 ms and then they need to respond to the target tone as soon as they hear it. The inter-stimulus interval is 2.5 - 2.9s.
However, for some reason, after I finished the calibration and validation session, the experiment collapsed and showed this error:
What did you try to make it work?:
I also tried to create a new experiment with the same design but without Eyelink and I got the same error. However, after I reset preferences, I can run the experiment without Eyelink.
So my gut is Eyelink for some reason change the setting of Psychopy, which prevents it from loading sounds properly.
I tried to specify the sample rate of my tone but it did not work.
I followed the suggestion from this thread by creating a constant “demo” sound. However, the experiment still collapsed when Psychopy is trying to load this sound before the experiment.
I also found one thread. They suggested it might be related to the older version of psychtoolbox but my ptb version is 3.0.17.8, which is after 3.0.17 as they suggested.
I can work around it by changing audio latency mode into “0: Latency not important”, as suggested by this thread. However, I’m very concerned about the latency lag.
So I wonder if there is a better and more efficient way to fix this problem.
Thank you in advance for your help.