Howdy, Stranger!

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

Supported by

Two word stimuli on one sketchpad with differing duration and responses

I am trying to design an experiment in which I can present two stimuli on the same page for differing periods of time and collect different keyboard responses for each stimuli simultaneously.

For example, I have a stimulus in the center of my sketchpad that is a word which I call [stimulus] and right below it, another stimulus that is a number which I call [stimulus_2]. I want the number [stimulus_2] and word [stimulus] to appear together for 500 ms, and then I want the number to disappear so that the word displays alone for another 1300 ms. In total, I need the stimuli to be presented for 1800 ms.

When the number displays, the correct recorded keyboard response should be "spacebar." For the words, the correct recorded keyboard response should be either "z" (which means "yes" they recognized this word from the study list) or "/" (which means "no" they did not recognize this word from the study list). Both even and odd numbers will be presented, but when an odd number specifically is presented on the screen below any word, I want the participant to be able to indicate that they recognized an odd number on the screen and press the spacebar, and I want this to be possible even after the number has disappeared from the screen. Additionally, participants should also be able to indicate whether they recognized the word from the study list, so for every trial they will have to press "z" or "/". This means for every stimuli that includes an odd number, within the 1800 ms participants may have to hit both a spacebar and the "z" or "/" key.

As of right now, I have a sketchpad item with the word [stimulus] and number [stimulus_2] that displays for 500 ms with a keyboard response that has "spacebar" as an allowed response. Then, I have another sketchpad item with just the word [stimulus] that displays for 1300 ms with a keyboard response that has "z;/" as an allowed response. These are basically two different screens and require separate responses, which is not what I want. It does not work for what I am trying to do because each keypress makes the screen move onto the next stimuli, and each screen only allows for one keypress at a time.

I wanted to know if it was possible for participants to press two keys within an 1800 ms timeframe, even once the odd number has disappeared from the screen? Also, how can I keep the duration fixed, so that the stimuli remain on the screen for 1800 ms every time and the keypress does not automatically move to the next stimuli? I need to record for the keypresses, but also present each screen for a specific amount of time.

To reiterate, I am trying to make it so that when an odd number appears below the word, the participant can press "z" (or "/") AND "space" in either order, all within a fixed amount of 1800 ms.

I am not sure if this would require using the inline script, but I have very little experience with coding so I didn't know how to go about using it. Please let me know if anyone can help me figure this out, or if it doesn't make sense and you need more information. I appreciate it!

Comments

  • HI @NikitaAdhikari@nikitaadhikari1 ,

    This is exactly the kind of scenario where coroutines are useful. coroutines allow you to run (certain) items in parallel while specifying their start and end times. This allows you for example to present a series of sketchpad items while collecting multiple responses at the same time (by having multiple keyboard_response items running simultaneously).

    Cheers!

    Sebastiaan

    Buy Me A Coffee

  • Thank you Sebastiaan!

    I forgot to mention my experiment will be online, and unfortunately coroutines is incompatible with OSWeb. I found a code to help with my prior issue, but it is in Python and not Javascript so it is still not compatible for the online format. I am still trying to find a solution, but I appreciate your help!

    Best,

    Nikita

  • See my reply here. And please help us keep the forum clean by not asking the same question twice!

    Buy Me A Coffee

  • Hi Sebastiaan,

    I apologize about that! I thought my first question was too wordy so I tried to send it in as a shorter question, but I will make sure not to do so in the future. I appreciate your help!

    Best,

    Nikita

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