Howdy, Stranger!

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

Supported by

[solved] audio input as response/variable

edited May 2013 in OpenSesame

Hi everyone,

First of all, sorry in case my question is trivial and my descriptions basic, I normally use my computer for not much else than office applications.
I'm using OpenSesame to build a picture naming task, i.e., pictures (sketchpad items) are displayed in succession which are to be named by the participants with their response being recorded. All this is working fine so far, but here's the crucial bit: I want to measure the time they need to name the picture.
If I understand the programme correctly, a way to make this work would be to have their vocal response determine the duration of the sketchpad item display, so that this duration can be the time measured. Is it technically possible to make the onset of some audio input the variable that determines duration (i.e., ends display)?
Or, alternatively, is there a way to measure the time between two sounds, i.e. if I included a synth item just before the picture to measure the time between synth item and vocal response? (other than running some other programme simultaneously in the background).

Thanks very much for your help!!
Friederike

Comments

  • edited 11:08AM

    Hi Friederike,

    Welcome to the forum!

    Is it technically possible to make the onset of some audio input the variable that determines duration?

    For a previous thread on using a voice key in OpenSesame, Sebastiaan uploaded an example experiment that does something similar:

    However, nowadays there is also a sound-recorder plugin with which you can record audio directly from a microphone, and save the resulting .wav files (per trial) for offline processing. Perhaps this is the most convenient way to obtain the vocal response times in your experiment. The audio plugins can be downloaded here:

    Does this help? Please let us know if we can help you further in applying either of these two suggestions to your specific situation.

    Best wishes,

    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • edited 11:08AM

    Hi Lotje,

    Thank you so much! I've worked with the sound-recorder plugin previously, and it seems the example experiment is just what I need now to save time and get more accurate reaction times.

    Thanks!!
    Friederike

  • edited 11:08AM

    I'm glad to hear that! Good luck and don't hesitate to ask any further questions! :)

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • edited 11:08AM

    Hello,
    I'll use to this post, it's similar to experiment I want to create.
    I'm trying to set up an experiment with OpenSesame (a picture naming task).
    I tried to use soundrecorder plugin and it's working fine. OS saves the audio file for every picture presented.
    I want to save also the response time of the participant (when the participant starts to talk). It's possible to take this "response time" from the soundrecorder object?
    Do you have any suggestion?
    Thanks in advance,
    Paolo

    I tried the voice key example above, but is not working and also I have to restart open sesame every run.
    Please build and install the PortAudio Python bindings first.

    W7.64bit - OS 2.9.1 (32bit) - Python 2.7.3 (32) PyAudio-0.2.8 and pymedia-1.3.7.3

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