Howdy, Stranger!

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

Supported by

Mousetrap problem recording coordinates

Hi

I am trying to create an experiment whereby I can record the coordinates of the mouse cursor whilst participants watch a short video clip. In order to do this was hoping to use the Mousetrap plugin. Underneath the video is a scale from negative to neutral to positive. By moving the cursor over the scale participants should indicate their current emotional state. I aim to record the timestamp and position of the cursor on the X Axis though out the video. However, in the log file it only records the time stamp, the x_pos and y_pos columns remain empty. Does anyone know how to fix this?

Kind Regards

Ian

Comments

  • It is also worth noting that the logger item is after the mousetrap item.

  • Hi Ian,

    to answer your question, it would be great if you could provide some additional information:

    Which item/plugin are you using for displaying the video?
    How did you create the scale below the video?
    Which mousetrap item are you using - mousetrap_response?

    The main challenge will be to record the coordinates while the video is running. Depending on your answers to the questions above, it might not be possible to do this using the mousetrap_response item because it cannot be run in parallel to the item that plays the video.

    If you are using the media player mpy item for displaying the video, you might be able to solve this challenge using the custom python code option provided by the media player mpy item. Note that I haven't used this item myself, so I don't know exactly how the specific implementation would look like in this case.

    Best,

    Pascal

  • Hi Pascal

    Thank you for your reply. I am using the media player mpy plugin to display the video. In order to implement the scale we have simply edited the video itself and inserted a scale. I am currently using the mousetrap response item. Which is place after the media player plugin.

    Any assistance you can offer we would be most grateful.

    All the best

    Ian

  • Hi Ian,

    it is I think not possible to combine the media player mpy item with mousetrap as you cannot run mousetrap concurrently with the media player mpy item.

    However, as mentioned above you could use the custom python code option provided by the media player mpy item itself. The documentation for the plugin (which is developed by @Daniel Schreij) can be found in the offline help of the plugin or here. I think the general idea would be to set the setting "Call custom Python code" to "after every frame" and then to continuously get the mouse position (see OpenSesame's online documentation) and store it in a list. However, I haven't used the media player mpy item before so this is just a guess on my part and you would have to try it out yourself.

    Best,

    Pascal

  • Dear Pascal
    Thank you very much for your advice. I created a custom python code within the media_player_mpy. This works very well.

    All the best

    Ian

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