I’m working with PsychoPy 1.90.2 Standalone in Builder mode on Windows 7 and have a newbie question regarding the assignment of responses across trials.
In my experiment (screenshot), each trial (lasting 1.5 s) includes 5 beep sounds, one of which has a higher pitch. Participants’ task is to press a key whenever this oddball occurs.
Simultaneously, a word is presented acoustically (0.5-1 s duration) with a random onset within each 1.5 s trial period. That is why I can’t make each beep a trial of its own.
My problem is now that if the oddball has a late onset in the trial, participants will respond during the following trial. In my current paradigm, this would erroneously be recorded as a miss during the first trial and a false positive during the second trial. Also, I cannot measure their response time here because the clock is set back to zero in each trial.
My question is therefore: How can I assign a response to a component in the preceding trial and how can I record the respective response time and response correctness?
My first idea would be to take the absolute time and substract the oddball onset from the following response onset. If the difference would be, say, less than 0.5 s, I would count it as correct. The clock functions in psychopy.core sound promising in this regard, but being a newbie I don’t know how to implement this in Builder.
Any help would be greatly appreciated.