I’m using PsychoPy version 2021.1.2.
I’m trying to create an emotional task using builder. Each trial starts with a fixation
cross presented at the center of the screen for 1000ms, followed by
a negative or a neutral picture for 100 ms. The picture was followed by
an interval of 50, 100, or 150 ms. Then, a target squarewas presented for
1000 ms. Participants were asked to indicate whether the target square
was blue or green by pressing a key on the response box. They were requested
to respond as fast and as accurately as possible. Each trial ended
with an inter-trial interval (ITI) of 2000, 2250, or 2500 ms
I’m trying to figure out how to add those intervals randomly, I’ve tried to create 3 different routines and then to add a random loop. the problem is that the randomization applies to all of the intervals (50/100/15 ms). I’ve also tried to create xlsx file with a time duration variable (‘duration’)- I added a blank text stim, at the ‘stop’ line I wrote $duration , I got an error when I was trying to run the experiment.
At this point I haven’t figured out how to do it,
any help will be useful