Howdy, Stranger!

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

Supported by

Delay between keyboard response and sketchpad (feedback)

Hi guys,

I am running an audition experiment where a sentence is played, and the actor's (subject's) gender must be determined (either m for male, or f for female).

The particular sequence I am having trouble with is during the trial run.
There is a delay between the keyboard input and the correct/incorrect sketchpad popping up.
Even If i increase the time the correct/incorrect sketchpad stays up, it still disappears after about 200ms.

First, a fixation circle is displayed for the duration of the sound clip (of the sentence)
Then, a new sketchpad opens (set to 0 ms) asking for the user to press m for male, and f for female.
The keyboard response is next and the correct response is set to [correct_response] as detailed by the loop preceding the sequence.
Now I have two sketchpads, correct and incorrect and both are set to 2000ms; regardless of the duration assigned, the screen remains on the prior sketchpad (the male/female prompt), then displays the feedback for about ~200 ms, before starting the next trial.

Help or suggestions would be very much appreciated!

Thanks in advance!

Comments

  • Hey guys, it turns out that if i set correct_trial and incorrect_trial's durations to "keypress", this problem goes away; however, because the correct_trial and incorrect_trial are in sequence, there is another problem that arises: if the user gets the correct response, then presses a button other than correct_response to get to the next sentence, it shows the incorrect_response page as well.

    Help would be much appreciated!

    Thank you in advance :smile:

  • edited January 2017

    I tried making an inline after correct_response but before incorrect_response

    if var.response_correct_trial_1 in locals():
    var.correct = 1
    if var.response_correct_trial_1 in globals():
    var.correct = 1

    But if i press any other key during the correct_response, it will still go to incorrect response.

  • Hi sangydog,

    Maybe I misunderstand your (first) question, but possibly adding an empty sketchpad with duration 0ms at the end of the sequence helps.

    For some more info see:
    http://osdoc.cogsci.nl/3.1/manual/prepare-run

    Best,
    Jarik

Sign In or Register to comment.