Howdy, Stranger!

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

Supported by

sampler after keyboard + time

Hello

I already thank everyone who will answer me, knowing that they have undoubtedly already helped me on other topics! so thank you a priori and a posteriori

I think this problem I'm encountering is quite trivial, but I haven't found an answer on the forum.

I want to trigger a sample at a time (100 ms) after the response (keyboard). I think it's therefore an "IF".

Thank you for your help

Guillaume

Comments

  • Hi Guillaume,

    Have you seen the Advanced delay item? If I am not mistaken you can simply add this one after the keyboard response, specify the desired time, and then put the item you need afterwards. This should work, right?

    Eduard

    Buy Me A Coffee

  • Hi Eduard

    Thank you for your return

    Advanced delay do not support coroutines

    My goal :

    stimulus

    keyboard Response

    then after response at X ms --> tone (sampler) if correct response

    :)

  • Well, you need to tell me that you are doing this in a co-routine, you know.

    The simplest solution is to copy the last sketchpad to after the response and set its duration to 95 ms. If the sketchpad is identical to the previously presented visual information, then the screen won't change after the response was given for 100 ms, so you have effectively an extra delay of 100 ms.

    Does this make sense?

    Eduard

    Buy Me A Coffee

  • Hi Eduard,

    I thank you. Indeed, I think I didn't detail the task enough.

    In my phase (see image) that I have 2 sketchpads: a stimulus is presented for 250 and remains on the screen for this period of time. At the same time (thanks to the coroutine) I have a second sketchpad which runs and waits for the response (this is a trick that I found, otherwise either the stimulus disappears with the response or... it bugs!) .

    After the response (there are two stimuli with correct response S1 = "a" and S2 = "b") I would like a tone to appear:

    T1 if S1 and therefore "a" BUT after a delay after/following the response of 100 ms;

    T2 if S2 and therefore "b" BUT after a delay after/following the response of 750 ms.

    Thank you +++ for the help because "je patauge dans la semoule/I'm floundering in semolina" as they say in France :)


  • Hi Eduard,

    I thank you. Indeed, I think I didn't detail the task enough.

    So we can see in the phase (see image) that I have 2 sketchpads: a stimulus is presented for 250 and remains on the screen for this period of time. At the same time (thanks to the coroutine) I have a second sketchpad which runs and waits for the response (this is a trick that I found, otherwise either the stimulus disappears with the response or... it bugs!) .

    After the response (there are two stimuli with correct response S1 = "a" and S2 = "b") I would like a tone to appear:

    T1 if S1 and therefore "a" BUT after a delay after/following the response of 100 ms;

    T2 if S2 and therefore "b" BUT after a delay after/following the response of 750 ms.

    Thank you +++ for the help because "I'm floundering in semolina" as they say in France :)



  • I am not sure I understand, but I don't think you need a co-routine. You want your stimulus to be visible for 250 ms, at the same time you start response collection up to 2000 ms. After the response, you don't want the stimulus to disappear, but to continue to be on the screen until the end of the trial. In the mean time, depending on the condition and the response, you will play a specific tone after X ms following the response. Is this correct?

    Eduard

    Buy Me A Coffee

  • Almost !

    The stimulus appears for 250 ms then disappears, the participant can respond at any time (generally it is after 250 ms) but I must be able to record a response during these 250 ms or after (with a maximum of 2000 ms).

    Afterwards it's exactly that: once the participant has responded (when the key is pressed) a delay of X ms then a sound (=a sound is triggered after X ms of the response).

    This is mainly my difficulty: to make this sound "trigger" after a delay in the response

    Thank you Eduard++

  • Hi,

    I don't think this is possible with co-routines. You'll have to add the delays to the sequence following the co-routine, as demonstrated in that example. Please adapt it to your needs and try it out (focusing on the timing). The experiment as it is, does not work yet!

    If you can't get this to work, I can provide a fully coded example.

    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