Howdy, Stranger!

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

Supported by

record sound using the plug-ins

edited October 2016 in OpenSesame

Hi there,

thanks already to listen :) I have been trying to record voice responses in OpenSesame using the plugins (sound_start|stop_recording), but I did not have much luck unfortunately. In particular, the microphone works, and it seems that a default.wav file is created. However, 1) there is nothing in this file and it lasts just a second when it should be much longer, 2) when I try to look at the .py script to modify (for example) the name of the file (such that it takes the name of trial as argument), the script is empty. Moreover, if I try to change the setting in the control view (e.g., from wav to mp3) the following message is sent:

Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenSesame\share\opensesame_plugins\sound_start_recording\sound_start_recording.py", line 228, in apply_edit_changes
    if not qtplugin.qtplugin.apply_edit_changes(self, False) or self.lock:
TypeError: apply_edit_changes() takes exactly 1 argument (2 given)

Moreover, when I generate the script of the experiment, the only two lines where

do you have a suggestion on how should I go about it? I am on a Windows 10 machine, last version of OpenSesame, and I got everything properly installed (at least that's what I believe :) )
I am attaching here the general script of my experiment so that you can have a look, and perhaps spot the issue.

thank you immensely for the time and effort of keeping up such a useful open software!

Comments

  • edited October 2016

    ... forgot to complete a sentence

    Moreover, when I generate the script of the experiment, the only two lines talking about sound where:

    define sound_start_recording sound_start_recording
    
    define sound_stop_recording sound_stop_recording
    

    sorry and thanks again!

  • You're not doing anything wrong. The plugins simply haven't been updated for a long time, and a change in recent versions of OpenSesame has broken them. That's not supposed to happen, and I just committed a fix, so it should be resolved in future versions of OpenSesame (>= 3.1.3a6). (This doesn't mean that the plugins are updated; just that they work again, outdated as they are.)

    For now, you could either:

    • Downgrade to an older version of OpenSesame (I'm not sure when the issue crept in, but you could first try 3.0 and then 2.9); or
    • Edit C:\Program Files (x86)\OpenSesame\share\opensesame_plugins\sound_start_recording\sound_start_recording.py and change line 228 to:
    if not qtplugin.qtplugin.apply_edit_changes(self) or self.lock:
    

    That is, you remove the False argument.

    Does that help?

    Cheers,
    Sebastiaan

    PS. Ping @Daniel

  • Dear Sebastiaan,

    thanks for the suggestion. I just tried and it does work! I am on OpenSesame 3.0.7. It would be nice to get it fixed also in the last version of OpenSesame, as it is much easier to handle loop (i.e., using directly .csv files) with it. But, for now, I will live with that :) I have another question ... but I'll post it soon under a proper subject name.

    thanks again,

    Moreno

  • Got it, I created an issue at https://github.com/dschreij/opensesame_soundrecorder_plugins/issues/8 to remind myself to fix this soon.
    And yes, the sound recorder plugins are long overdue for an update.

    Buy Me A Coffee

  • ah ok, just saw this now. So I guess no update yet for the latest release of OpenSesame. Keeping an eye here!

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