Howdy, Stranger!

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

Supported by

[open] Two samplers playing simultaneously rather than one after the other

edited December 2015 in OpenSesame

Hello,

I came across a funny problem and I was wondering if you have any idea why this is happening.
I am modifying the PyGaze eye-tracking template to obtain a simple visual world paradigm experiment to measure eye movements on a scene during two sentences presented one after the other (sound1 and sound2).

This is the trial_sequence inside the block_loop:

  • pygaze_drift_correct
  • pygaze_start_recording
  • fixation_dot (sketchpad, duration: "keypress")
  • scene (sketchpad, duration: 0)
  • sound1 (sampler, duration: "sound")
  • sound2 (sampler, duration: "sound")
  • press_key (sketchpad, duration: 0)
  • keyboard_response
  • logger
  • psygaze_log
  • psygaze_stop_recording

The rest of the experiment is the unmodified PyGaze eye-tracking template.

The problem is that only for the first item in the practice loop the sound2 doesn't start immediately after sound1, but they start simultaneously, and the scene is not shown at all.
This does not happen for the following items in the practice loop, nor does it happen at all in the experimental loop, where everything works correctly (samplers and scene).

Would you have any idea why this happens?
The same items are shown / playing in the practice loop and in the experimental loop.

Thanks!

Alessandra

Comments

  • edited 6:33AM

    Hi Alessandra,

    Based on your description, there is no reason why this would happen. Could you upload the full experiment so I can take a closer look? (For example to http://pastebin.com.)

    Cheers,
    Sebastiaan

    There's much bigger issues in the world, I know. But I first have to take care of the world I know.
    cogsci.nl/smathot

  • edited 6:33AM

    Hi Sebastian,

    thank you for your reply. How do I upload the full experiment on pastebin.com? Do I need to copy and paste every snippet of code for each element in the GUI side, or is there a faster way?

    Best,
    Alessandra

  • edited 6:33AM

    Hi Alessandra,

    If you click on the very first item of your experiment (where you would select a back-end) you'll see the script-editor where your full experiment is scripted.

  • edited 6:33AM

    Hi Sebastian, hi Knante (and thank you for your help with copying the experiment)

    sorry for the late reply. Here's the code:

    http://pastebin.com/RDzCP5Uy

    [pastebin:RDzCP5Uy]

  • edited 6:33AM

    Hello,

    please let me know if there's any more information about the script that might be needed.

    Thanks again for your help!

    Best,
    Alessandra

Sign In or Register to comment.