Howdy, Stranger!

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

Supported by

Audio File Upload Size

Hello!

I am trying to run a speeded naming task through JATOS with a lot of audio recording files (about 700 each 180KB) and some participants are randomly outputting audio files that are 90KB. I have configured the settings to allow for this kind of file upload and other participants have not had any problems with their recordings. Is this an issue of JATOS on my end or on theirs? I don't know if anyone has encountered this issue or not!

Comments

  • Hi!

    In general I can't see any problem with your file sizes but I have trouble understanding your question. Can you please provide more info:

    • What is the precise problem your participants encounter. Is there an error message? When does it happen exactly. You write "randomly outputting audio files that are 90KB" - what does "outputting" mean here? Are you using jatos.uploadResultFile?
    • This problem does not happen with all participants? Is there a pattern with who it is working and with who not? Do they have a higher file size?
    • "Is this an issue of JATOS on my end or on theirs?" - With "theirs" you mean the participant's browser?
    • Are there error messages in the participant's browser dev tool console?
    • Are there error messages in the application.log in your JATOS installation?

    Best,

    K.

  • Hi! Thank you for your response!

    I am using the jatos.uploadResultFile function when the participants are running the experiment. For most of the participants, the result file is always 180KB, but I have had some participants that have had certain audio files, with no particular pattern or error thrown that have had files that are 90KB. It's not all of the files for the whole component either, it's generally for one or a few recordings in a row and then it goes back to uploading files that are 180KB.

    All of the participants should have the same file size. I haven't had this issue pop up until very recently, and it's only for a few participants too.

    I was just wondering if there was anything that I could change in my JATOS configuration or script to ensure that all the files are 180KB as the 90KB files are unusable. There are not any errors that I can tell from the participants or in the application log in my JATOS installation.

  • krikri
    edited June 24

    Hi!

    You are using jatos.uploadResultFile and by default the maximum file size per single upload is 30 MB and for all files together within a study run is 50 MB (https://www.jatos.org/JATOS_Configuration.html#result-file-uploading). Since you are uploading several audio recordings per study run it is possible that you reach the overall limit of 50 MB. But this wouldn't explain the strange behavior you are describing of some files are 90 kB instead of 180 kB. If the overall limit is reached the files wouldn't upload at all. But if you want to try it anyway the jatos.conf attribute to change is jatos.resultUploads.limitPerStudyRun.

    Apart from this it doesn't sound like a JATOS problem but more like a problem on the study / browser side. If JATOS had problems with a file it would not save it at all and not just half of the file. You didn't mention error messages in the browser's console. Is it because there are none, or because you cannot access them? If you can't access them easily, you could use jatos.catchAndLogErrors (https://www.jatos.org/jatos.js-Reference.html#jatoscatchandlogerrors) to let jatos.js send all console errors happen in the browser running your study to JATOS' application log.

    Best,

    K.

Sign In or Register to comment.