I am creating an experiment where participants listen to an audio file ending in one of two words (goat or coat) and then see two pictures (a goat and a coat) and must select which word they heard by selecting the corresponding picture. Currently I have two main trials of this (56 items/trials in each) as well as a 4 item practice trial. I am using builder view, and I have each of the three total trials on loop in a routine with a break… so it would look like this:
What I want to do is two things:
For the practice trial, I want to make it to where if the participant wants to repeat an item, they are able to right away. I assume this would involve a nested loop of some sort and a Code Component, and I have tinkered around with these things but still can’t quite figure it out. So, they would hear the audio, have the photos pop up, make their response, and then if they wanted to repeat that item before moving on to the next one, they could just press a button or something to do so. (If they need to respond a certain way to allow for the repeat, this is perfectly fine, as I am testing kids and an experimenter will be marking their responses. So, the experimenter could just mark their response a certain way to allow for a repeat if necessary.)
For the main trials, I am wanting to have the 56 audio files play randomly (only 1 time through), and then when the two photos of a goat and a coat pop up, I would like for these to be randomized by PsychoPy whether the goat is on the left or the right… to where the order of these is random in a different way for each participant. I believe this would involve having two separate excel sheets, one for the audio files and one for the two photos, but I am not sure if this is possible. Further, I would like to be able to trace back the keyed in response after seeing the photos to the audio file that was played before the photos. I would also like to see the photos that were presented with each audio file (e.g. whether or not the goat was on the left or the right to the screen) so that when looking at the responses I can know what their response was, according to what they saw on the screen (since it would be randomized), for each audio file. Again, I really don’t know if this is even possible, but I would appreciate any help!!
I currently have my experiment set up with the main trials using one excel sheet each, but I would like to be able to separate the photos from the audio so the same photo order is not presented with the same audio for every participant.
I am using the most current version of PsychoPy.