Howdy, Stranger!

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

Supported by

Response time when using sound stimuli

Hi.

I am a beginner planning a phonetics experiment using open sesame.

I have a question about measuring reaction time when using sound stimuli.

In my experiment, the stimulus is a sound, and the response is a mouse click.

What I want is the duration from the end of the sound stimulus to the mouse click.

There are many variables related to time in the logger file, but I'm not sure which one will give me the results I want.

In my opinion, the most likely candidates are 'time_Logger' and 'time_PlaySound'.

Can I measure the response time by subtracting 'time_PlaySound' from 'time_Logger'?

Thank you for the answers from open sesame experts.

Comments

  • Hi @hwon,

    I'm not sure I understand your question. If you want to measure a response time for a mouse click after a sound has played, you simply need to set the duration of the sampler to the sound's duration and place the mouse response object just after the sampler. Then you simply use the response_time variable.

    I attach a basic example.

    Note that if you wanted to measure the RT form the sound's onset (instead of offset), you'd simply have to set the duration of the sampler to 0.

    Hope this helps,

    Fabrice.

    Buy Me A Coffee


  • Hi, @Fab ,

    Thank you for your kind reply.

    I would like to correct something in the previous question that was not specific.

    The experiment I'm designing involves listening to a sound stimulus(using a sampler) and pressing a button that corresponds to an answer to a question(using a form base with buttons).

    In other words, it seems to be accurate to say that it is a button click(with a mouse), not a mouse click.

    In this case, there is no 'response_time_mouse_response' variable in the log file.

    There are 'time_Buttons', 'time_Logger', and 'time_PlaySound' in the log file.

    'time_Buttons' seems to be the time the button was pressed.

    But I'm not sure what 'time_Logger' and 'time_PlaySound' mean.

    If you know the answer to this question, please let me know.

    Sorry to bother you with additional questions.

  • Hi @hwon,

    Thanks for clarifying your question.

    To asnwer you question, the "time_" variables correspond to the time stamp for different objects (see https://osdoc.cogsci.nl/3.3/manual/variables/#experiment-variables). You can think of it as the time on an internal clock (the time it was when such or such object was shown or run). The form_base object does not come with an automatic response_time variable because by definition this type of form allows experimenters to display anything, but you can calculate the response time manually using some code, calculating the time difference between the time stamp of that code (time_calculate_RT, if we imagine that your inline_python object is called calculate_RT) and the time stamp of the form (time_formA, if we imagine that your form is called formA). Here's a demo playing a sound and then taking a response frmo a form where participant has to click on one of two buttons.

    Hope this helps,

    Fabrice.

    Buy Me A Coffee

  • Dear @Fab,

    I really appreciate your kind and detailed explanation.

    Your explanation gave me a good understanding of how time works.

    Thank you so much for the demo file too!

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