I am trying to create an experiment in which participants are presented 3 sounds in each trial one of which is different from the other two and they need to identify which one is different and I will play sounds from an excel file. there are two columns in this file named “standard” and “devient”.
mainReg.xlsx (9.5 KB)
then I have a list inside the code in the begin routine tab LIST2=[devient,standard,standard]. I have a variable called soundVar that increases 1 by 1 to play the three stimuli in each trial and another variable called count that increases 1 by 1 after each trial (3 presentations of sounds) and then by shuffling LIST2 the location of the deviant sound would be different.
Now my question is that how to play all the sounds in this excel file 3 times so that each time the location of the deviant version for a specific sound is different?
I would appreciate it if you could provide me with code that can do this or refer me to experiments in which the same thing has been done.