[solved] How to create different feedback delay for each response key?
Hi
I want to thank you for the great help I have got from you with my previous problems.
I want to make some changes in the previous experiment programmed at OpenSesame.
The experiment has four response keys. Clicking on each key leads to a flash (sketchpad) on the screen immediately.
Is there a way that the flash will appear after different delay for each of the four keys?
For example, after pressing the "h" key, a flash will appear after 300 milliseconds, after pressing the "d" key, a flash will appear after 600 milliseconds etc for the remaining two keys.
if necessary, i would be happy to share with you the experiment files through DropBox. If so, what is your address?
Thank you for your help
Noam
Comments
Hi Noam,
Yes, that's certainly possible! To make the response-flash interval depending on the given response:
Firstly, place an inline_script item between the keyboard_response item and the flash:
Secondly, place the following Python code in its Run phase tab (see comments for more information):
Does this answer your question?
Best wishes,
Lotje
Did you like my answer? Feel free to

it works great!
thank you!
Noam
Great to hear!
Don't hesitate to post any further questions you may have!
Did you like my answer? Feel free to
