Howdy, Stranger!

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

Supported by

sound start recording always overwrites

Hello,

I'm using the sound_start_recording plugin embedded in a loop to record short audio input (~2-5 seconds). Even though I've selected it to create new media file each iteration it's only ever recording the last run of the loop. Any thoughts?

Thank you!

Comments

  • Hi Mikaelr. Just to be sure: Have you also include the sound_stop_recording item at the end of the trial?

  • Hi Daniel. Yes, that's correct.

  • A couple quick additional questions:
    1) I define an output folder/file name but that didn't help...but I see that the statement is "if file exists...append suffix to filename" - do I need to/can I define what the suffix is somewhere?
    2) Is there a way to write the start/stop record audio to the EDF msg log the same as the start_trial and stop_trial status messages for pygaze (the only variables I see are 'time_sound_start_recording' and 'time_sound_end_recoding')?

    Thanks again for your help!

  • That sounds like a bug then. I'm just surprised you're the first to ever report this behavior, as the plugin has been around for a while (and is in dire need of an update), so I assume someone should have bumped into this thing before.

    1) No the suffix should be appended automatically.
    2) You'd need to look into the Pygaze docs for this. There should be a function called, eyetracker.log() with which you can send messages to be saved in the EDF file.

    Could you take a screenshot of your overview panel (where the structure of the experiment is shown) of the experiment you experience this bug with?

  • Just a couple notes: I was originally using ver .12, I updated to ver .15 with no change. I also tried all the different backends to no effect.

  • edited May 2017

    I am encountering the same issue, that I cannot save multiple sound files. They always overwrite the previous version. I tried using .Mp3, and .wav files. I don't get an error message either. It simply overwrites it.
    Any updates on the fixes for this?

    Just to specify, I'm running the latest version of Opensesame.

  • I'm having the same problem...

    Aso, the problem has been mentioned again by rampriya darshini in January this year (http://forum.cogsci.nl/index.php?p=/discussion/2686/how-can-i-collect-audio-response-in-open-sesame)

    Running the latest version as well (windows)

  • Hi

    I am also having this problem with version the latest version of OpenSesame.

    I used the "Append to suffix filename" option and I still get the recording only for the last iteration (i.e., the last word in my word naming task).

    I can record the entire loop by placing the recording option before the loop, but because I am interested in calculating voice onset time, and Sebastiaan suggested not relying exclusively on the voice onset code, I am still interested in recording each iteration in the loop separately. Has anyone found a solution?

    Thanks in advance for your assistance.

  • Hi,

    I don't know how to properly solve the problem with the plugin, but what you could do is following. After a trial, once you saved the most recent file, you can use the python os package to rename the file to something else. The syntax is rather easy:

    import os
    os.rename('a.txt', 'b.kml')
    

    You just have to define a unique filename for your recording.

    Does this make sense?

    Eduard

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