Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

How to access auto response option in new opensesame

Hey!!

I have started using opensesame after sometime. Earlier versions has the autoresponse option in the GUI. But the current version I cant seems to find it. Can anyone please help me in this.


Version that I am using is version 3.2.8 which is available on the cogsci website.


Thanks

Vatsal

Comments

  • Hi vatsal,

    This option does not exist anymore. But you can implement it yourself. Instead of a keyboard response have an inline_script with this code in it:

    import random
    kb = keyboard
    resp_time = random.uniform(200,1000)
    resp_key = random.choice(['a','b'])
    t0 = clock.time()
    core.sleep(resp_time)
    key = resp_key
    

    Does that make sense?

    Buy Me A Coffee

Sign In or Register to comment.