Howdy, Stranger!

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

Supported by

SoundRecorder problem

Hi all,

I'm trying to set up an experiment where I need to record what the participant says.

For this I use the plugin SoundRecorder 0.15 and Open Sesame 2.9.7. (as I could not make OS 3.1.9 to work with SoundRecorder 0.15)

After having recorded correctly 30 stimuli, it bugs with the following message:

Unexpected error
line: 50
exception message: Cannot create sound object. Error text is: 4,
exception type: SoundError

Traceback (also in debug window):
File "dist\libqtopensesame\misc\process.py", line 139, in run
File "dist\libopensesame\experiment.py", line 347, in run
File "dist\libopensesame\sequence.py", line 47, in run
File "dist\libopensesame\loop.py", line 142, in run
File "dist\libopensesame\sequence.py", line 47, in run
File "dist\libopensesame\loop.py", line 141, in run
File "dist\libopensesame\sequence.py", line 104, in prepare
File "C:\Program Files (x86)\OpenSesame297\plugins\sound_start_recording\sound_start_recording.py", line 142, in prepare
File "C:\Program Files (x86)\OpenSesame297\plugins\sound_start_recording\Soundrecorder.py", line 50, in init
SoundError: Cannot create sound object. Error text is: 4,

The problem is not coming from a specific item but to this 30th item that it does not want to record. (I changed the position of the item and it was ok until the 30th one).
I also tried the mp3 format but had the same problem...

Would you have any idea ?

Best

Comments

  • Hi Boris,

    I don#t have much experience with the soundrecorder plugin. In fact, when I tried to install it and help someone recently, I couldn't make it work. So, I don't know the reasons or the solution to your problem. But the symptoms you describe sound a little like that it is a memory issue. Could this be? Maybe you could monitor your memory usage to check, try to delete sounds from the workspace once recorded, or split your experiment?

    Sorry for not being able to help properly.

    Eduard

    Buy Me A Coffee

  • Hi Eduard,

    Thank you for your answer.

    Maybe you could monitor your memory usage to check, try to delete sounds from the workspace once recorded,

    Would you have any idea how I could do that ?

    or split your experiment?

    30 items is not even a single block so that will be difficult.
    I was thinking of recording 4 big files instead of multiple small ones but I did not try it yet and if it's a memory issue it should be a problem too...

    Best

  • Hi Boris,

    Perhaps you could give PyAudio a shot? This requires an inline_script but also allows you to record sound. You can find some examples on the PyAudio homepage, and also in various discussions here on the forum.

    It might be an idea to create an updated soundrecorder plugin based on PyAudio. @Daniel, was there a specific reason that you chose PyMedia over PyAudio at the time?

    Cheers!
    Sebastiaan

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