Howdy, Stranger!

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

Supported by

Audio file not playing. Error: failed to load because no supported source was found.

edited March 2020 in OSWeb

Hi all,

I am currently attempting to run my experiment online with JATOS but I keep coming across an error that I did not encounter when running the experiment normally with OpenSesame.

The experiment is a speech discrimination task, during which subjects have to hear 10 blocks containing 30 randomized recordings each (the same 30 recordings are played in all blocks but in different orders) and make a decision as to what word they heard by clicking two keys.

The specific structure is: an audio plays, a sketchpad item appears (displaying the two words subjects have to decide between), subjects click on their keyboard (within a certain amount of time or else the next recording will be played automatically), an empty sketchpad appears and so on.

A specific error has been continously occuring when running the experiment online, namely a particular audio file fails to play across all 10 blocks of my experiment. I accessed my Google chrome console and the following error is displayed any time that specific recording is supposed to be played:

uncaught (in promise) domexception: failed to load because no supported source was found.

I was wondering whether anyone knows how to fix this? And please let me know whether you need me to provide additional information to understand what's going on.

Thanks in advance!



Comments

  • Hi pmandara,

    I've never had this particular error before. It looks like the the browser can't load the file. Maybe it's a broken path? Can you share with us the part of your code where you load the files?

    Best,

    Kristian

  • Hi Kristian,

    Thanks for answering! Here's the part of the code (I believe) you asked for:

    set volume 1
    set stop_after 0
    set sample "[geminate_type]_[ratio].wav"
    set pitch 1
    set pan 0
    set fade_in 0
    set duration 0
    set description "Plays a sound file in .wav or .ogg format"
    

    So basically I uploaded my 30 recordings in the file pool. Each of the recordings represents one of the 30 possible ways my two variables (i.e. 'geminate_type' and 'ratio') may combine and I named all the recordings to reflect each of these possible combinations (e.g. one recording is named 'plain_0.6' where 'plain' is a possible condition for the first variable, and '0.6' a possible condition for the second variable).

    Then I created a sampler item and typed "[geminate_type]_[ratio]" to make sure that each of the recordings will play.

  • Ah, I see it's not JavaScript. I guess this is OpenSesame's programming language (was it Python?). Unfortunately I'm not family with this one. Anyway in the browser it's JavaScript and and OSWeb translates to JavaScript. If it is possible, can you attach your JATOS study here? Then I can have a look on my JATOS server.

    Best

    Kristian

  • Hi @pmandara,

    This issue is probably related to OSWeb, which is the software that actually runs the experiment. JATOS is the server software that stores data, generates links, etc. (The difference is a bit subtle, I appreciate that.)

    To narrow this issue down, could you:

    • In OpenSesame, under Menu → Tools → OSWeb, check if there are any issues listed under 'Compatibility check'. If there are, then your experiment uses functionality that is not supported in OSWeb (see here).
    • Make sure that the audio files are included in the file pool. (And not, for example, placed in the experiment folder as separate files.)
    • Test whether the experiment runs with the 'Test experiment in external browser' option in OpenSesame.

    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