Hi Ting,
Wow, that works perfectly! The stimuli are now completely stable, and the “hopping” effect is gone. Thank you so much for implementing that and making it so easy to test; it really makes a huge difference for the clarity of the task!
If you’re already a little familiar with what I’m doing, I have a follow-up question regarding the response setup. I’m trying to capture both reaction times and accuracy for a Stroop-style task, where participants respond by pressing C if the stimuli mismatch and M if they match.
Initially, I used the keypress response, but I realized that the reaction time there is calculated as the time since the last keypress, not from the start of the trial, which seems less accurate for my design.
That’s why I switched to a choice response, where RT is based on the time from the presentation of the stimuli to the participant’s response. However, the choice response shows on-screen buttons, and I really want participants to respond only via the keyboard, ideally with no visible response buttons.
Is there a way to use the choice response with keyboard input only, but hide the on-screen buttons? Alternatively, can the keypress response be adjusted to record RT from stimulus onset instead?
Thanks again for your fantastic support, I’m really grateful for your help!
Best regards,
Vivienne
so far my code looks like this:
{
"type": "choice",
"choices": [
"Ja",
"Nein"
],
"key_mapping": [
"c",
"m"
],
"instruction": "",
"timeout": 10,
"feedback": false
}
Wow, that works perfectly! The stimuli are now completely stable, and the “hopping” effect is gone. Thank you so much for implementing that and making it so easy to test; it really makes a huge difference for the clarity of the task!
If you’re already a little familiar with what I’m doing, I have a follow-up question regarding the response setup. I’m trying to capture both reaction times and accuracy for a Stroop-style task, where participants respond by pressing C if the stimuli mismatch and M if they match.
Initially, I used the keypress response, but I realized that the reaction time there is calculated as the time since the last keypress, not from the start of the trial, which seems less accurate for my design.
That’s why I switched to a choice response, where RT is based on the time from the presentation of the stimuli to the participant’s response. However, the choice response shows on-screen buttons, and I really want participants to respond only via the keyboard, ideally with no visible response buttons.
Is there a way to use the choice response with keyboard input only, but hide the on-screen buttons? Alternatively, can the keypress response be adjusted to record RT from stimulus onset instead?
Thanks again for your fantastic support, I’m really grateful for your help!
Best regards,
Vivienne
so far my code looks like this:
{
"type": "choice",
"choices": [
"Ja",
"Nein"
],
"key_mapping": [
"c",
"m"
],
"instruction": "",
"timeout": 10,
"feedback": false
}