I’m creating an experiment in which a set of sounds and images will be presented to participants, and we’ll record their responses using the keyboard.
Specifically, I have 48 different images and 24 different sounds repeated twice (attached a picture of my conditions).
I would like to randomize the order of the stimuli (sounds and images) making sure that the same sound is not repeated twice in a row.
I created a loop “RecallB1” and select Loop type to be ‘random’.
I’ve seen multiple topics trying to solve the same issue not online, like this one Randomisation without consecutive presentations - #2 by Michael
Can anyone please help me generating a code that will constrain the randomisation so that the same sound cannot be presented consecutively?