Howdy, Stranger!

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

Supported by

OpenSesame stops working in a loop with sound file presentation

Hi,

My first attempt to post here may have failed or is delayed—apologies if this is a duplicate.


I’m conducting an experiment in OpenSesame and adapted the beginner tutorial for a simpler version. Participants detect melodic errors and respond with “e” (error) or “c” (correct). To implement my 2 (length) × 2 (perfectness) repeated-measures design, I used the {var.name} trick to structure my audio file names as {var1}.{var2}.wav/mp3.

However, after the first audio file plays, OpenSesame freezes without an error message, requiring me to quit via ESC. What might be causing this issue?


Thanks in advance!

Comments

  • Hi @platzf,

    I'm not sure without more details, could you share your experiment file?

    Claire

  • Hi @cvanbuck ,

    thank you very much for your response. Originally, I used .wav-files but I have now included *.mp3 files. I checked the behavior with both file types and received the same system behavior (freezing after first audio presentation). Thank you for your support!

    Friedrich



  • Hi @platzf,

    It seems like you were simply mispecifying the allowed keys in the keyboard item that appears right after the sampler item. Try it this way instead:

    Does this solution work for you too?

    Claire

  • Hi @cvanbuck ,


    unfortunately it's not working. The system freezes after the first audio file. Nothing happened. I've tried several combinations with "e;c" e,c,... but nothing helped.

    Best wishes

    Friedrich

  • edited March 13

    Weird, it did solve the issue for me... Maybe try with another key e.g., space? Have you tried running the experiment on another computer or with a different backend?

  • edited March 13

    Hi!

    Actually, my OpenSesame is running on a mac, but I think that simple setup should run on every machine. I also tried several backends: Interestingly it's only working on the OSWeb-Backend. However, the long road to "my" experiment is, that I would like to measure the reaction time, next to correct or incorrect responses.

    Unfortunately, the console gives no addition information. One positive aspect now to me is, that the overall structure is not wrong. However, it would be perfect for now, if it would work also on the psycho-backend as well...

  • Hi again @platzf

    I'm not entirely sure why this is happening, as simply removing the quotation marks worked on my machine with the PsychoPy backend.

    Could you check which version of OpenSesame you're using and ensure it's the latest?

    For troubleshooting:

    • Try setting 'space' as the allowed key response (without quotes) to see if it's a parsing issue.
    • Set the keyboard item’s duration to a fixed time (e.g., 5000ms) to prevent an infinite loop waiting for an unrecognized response.
    • Remove the keyboard item temporarily to check if the rest of the experiment runs correctly.

    Let me know what happens!

    Claire

  • Hi again @cvanbuck ,

    excuse my late reaction. I tried several setups as suggested:

    • I used "space" (without quotes) as allowed key response
    • set the duration to a fixed time (5000ms)
    • and run the experiment with the PsychoPy (psycho) backend

    resulting in a freezing system. Removing the keyboard item temporarily resulted in the same system behavior. Contrarily, the setup with and without the keyboard item worked well in all other backends.


    Best wishes

    Friedrich

  • Hi @cvanbuck and everyone else,

    do you have any further suggestions in order to get the simple experiment running in the native OpenSesame (psycho) backend? Or do you have any other ideas what might be causing the experiment to run on all backends except for the psycho backend?

    Have a nice day,

    Friedrich

  • edited March 22

    Hi @platzf,

    I'm not sure what's causing the issue, as it worked fine with the Psycho backend on my Windows machine, after removing the quotes. Maybe someone else will have a better solution to offer, but here are some things you could try in the meantime:

    • Run it on a different Mac machine to see if the issue is related to your specific machine or MacOS in general.
    • Uninstall Opensesame on your device and install the latest version with the standalone package (in case of compatibility issues with the PsychoPy libraries or something similar).
    • Use the .wav audio file format only.

    Sorry I can't be more helpful.

    Let me know how it goes,

    Claire

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