[open] Separate reaction time in one trial
Hello.
First of all, I must say that OpenSesame is quite interesting little program for making experiments. I started to use it for my research, and I have a problem.
So, I'll present one stimulus to subjects binoculary and their task will be to hold specific keyboard button (e.g. a or l) for some amount of time. The stimulus will be presented for 10 seconds and subjects will have to hold A or L button during that time; of course, they can shift their response (e.g. hold key A for 5.67 sec and key L for 4.33 sec, or they can hold only ).
And, that's my problem. Is there any way for recording two separate reaction times (for each key separate, because I'm testing the amount of time looking at one part, and the amount of time looking at other part of stimulus) for one stimulus, during limited time?
Thanks!
p.s. I started learning python, but...I'm still a noob.
Comments
Hi Nikolas,
So if I understand correctly, you want to log all key press and release events that occur within this 10 s period, right? This is not too difficult to implement using an
inline_scriptlike the one below. You you can also find many variations of this basic problem here on the forum.The script below deals only with key presses, though. Key releases are a bit tricky, and it depends on the back-end how you can capture those. See for example:
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Yep, that's what I would like to do
And thanks a lot! I'll try to make some combination out of these scripts, and I'll send results