Multiple response keys after a single trial
I would like participants to be able to press a sequence of response keys after hearing a sound trial in a loop. For instance, rather than pressing one response key, they would be instructed to press two in a sequence, with responses like "12", "21" or "22". I want to extend this to up to five-press responses for one trial (like "12211"). Ideally, the whole string of keys they press would then be stored in a single cell by the logger. Let me know if this makes sense, and if there's a way I might be able to go about it.
Comments
Hi @JKellogg,
The simplest method is to use a nested loop system where the keyboard object is in its own loop. You should set up the number of cycles of that loop to what ever number of key presses the trial requires (this can even be set from a variable obtained from the higher up loop). The key thing here is that you'd want to add some code in the nested loop to create a variable appending the new key stroke to the previous ones (that's the variable that will contain all responses as one string in the logger).
Hope this helps,
Fabrice.
Hi @Fab, I was able to figure this out, thank you!