Howdy, Stranger!

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

Supported by

Sync timing with external software, mouse_response not accurate

Hello,

I am running an experiment where I need to sync the timing of responses in opensesame to external software. I have done this before however I seem to be having some difficulty with it this time around.

At a point in the opensesame sequence a trigger is sent to my external software to instruct it to begin recording using the inline script item. From that point the participant hears a signal (sampler item) to start the task and responds with two mouse clicks (using two mouse response items), the first one being when they start the task, the second being when they end the task. So, I need 4 time stamps, when the trigger was sent, the sampler, the first click and the second click. This is repeated 5 times in a loop, the trigger stopping at the end of each loop and starting again in the beginning of the next one.

However, I have found using the mouse response does not correctly sync with the external software. I should be able to find the difference between the first mouse response and the trigger to get the time the participant started the task in the external software. But it doesn’t.

I am also having an issue with the time taken to respond to the signal. Where calculating the difference just doesn’t seem to work. Where I have left it 4/5 seconds when testing the experiment, it comes up with a time like (15237.47 (mouse response) - 15221.56 (sampler) =) 15.9178ms as the time to respond to the signal. It’s as if the sampler occurs almost at the same time as the mouse click even though there should be a difference of about 4 seconds from when I have tested it.

I added a logger after each mouse click and using that instead of the mouse response item works perfectly (the external task is a movement task so I can see that the logger works instead as it corresponds with the movement). While I could run my experiment like this, I would like to resolve the mouse response issue.

Below is the experiment and I included the sequence of some of items in one loop and the timestamps with them.


Thank you,

Chloe

Comments

  • Hi Chloe,


    I should be able to find the difference between the first mouse response and the trigger to get the time the participant started the task in the external software. But it doesn’t.

    How big is the deviation? Is it consistent?

    Can you print out the current time at each checkpoint in your experiment? This would give you an idea of whether there is anything unexpected happening in the process. Also, you should be aware that the sampler can still play the sound even though the next item in the sequence (i.e. the mouse) has already been called. If you don't want that, you should set the sampler duration to sound. Maybe this helps?

    Eduard

    Buy Me A Coffee

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games