Howdy, Stranger!

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

Supported by

[solved] Using "soundrecording" to control the duration of a sketchpad object

edited October 2015 in OpenSesame

Hi!

I'm writing here after looking at all other posts without finding any answers.

I am doing a number-naming experiment, where I show a number
and participants need to name it into a microphone. I need the number to disappear
as soon as a vocal response started.

Is that at all possible to do using the sound recording plugin?
I tried it and it records sound but does not affect the duration of the sketchpad.

Thank you so much for reading!

Tali

Comments

  • edited 9:41AM

    Hi Tali,

    The sound recorder plug-in only records sound, but doesn't allow you to do anything sound-contingent. However, it's quite easy to implement a vocal key with a simple inline script. There quite a few examples floating around on the forum (search for "voicekey"). For example:

    Cheers!
    Sebastiaan

  • edited 9:41AM

    Hi Sebastiaan

    Thanks for the response!

    I looked at the discussion you sent, and I noticed that there were issues
    with how accurate response times are (from the onset of the picture to the first sound participants make). This can be problematic for me, because I use several computers for my experiment.

    I apologize, maybe I'm missing something, but these RT problems
    are because you also try to record sound? in this case it shouldn't be a problem if I don't want to record any sound.

    Is there a way to modify the voice key code so it:
    1. Only capture response time without recording
    2. Allow participants to respond in more than one sketchpad? (like what the "parallel" plugin is doing?)

    Thanks again!
    Tali =:)

  • edited 9:41AM

    I apologize, maybe I'm missing something, but these RT problems are because you also try to record sound? in this case it shouldn't be a problem if I don't want to record any sound.

    No, the main source of latency is the sound card/ drivers itself, and this doesn't depend on how you process the sound when it comes in. If you're concerned about the timing, it's best to benchmark your system. For example, you can show a picture and play a sound at the same time, and then use this sound to trigger the voicekey. This way you can get an idea of the temporal variability of the voicekey. Does that make sense?

    Is there a way to modify the voice key code so it: 1. Only capture response time without recording

    Yes, there is an example of that at the top of the same discussion ;-)

    1. Allow participants to respond in more than one sketchpad? (like what the "parallel" plugin is doing?)

    I'm not sure what you mean exactly. You can simply repeat the voicekey script after several sketchpads, just like you could with a keyboard_response. Or is that not what you have in mind?

  • edited 9:41AM

    Thanks Sebastiaan!

    That's a great idea to test my system! I'll do that!

    About the multiple responses - I didn't explain myself well.
    The experiment goes like this:
    -slide 1: picture (300 ms)
    -slide 2: Slide saying "how many?" that should disappear once
    participants responded.

    Is it possible to get a single measure of RT if participants
    responded during the first or the second slide?

  • edited 9:41AM

    Maybe not very elegant, but you could always calculate reaction times yourself by taking the time at the beginning of the period to be measured and at the end. Just add an inline_script at the respective position in the sequence, take the time (t0/t1 = self.time) and take the difference as estimate of your reaction time. Does this help?

    Eduard

    Buy Me A Coffee

  • edited 9:41AM

    Hi Eduard

    Yes! Thank you very much!!

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