Hi everyone!
I’ve been having issues with my signal detection experiment that uses audio files. I have a working version of the experiment that only has the trials routine for testing, but when I made a version of the experiment with the trials that includes the consent form and questionnaires, as soon as it reaches the trials routine it gives me an error.
Here is the error message screenshot:
I don’t think this is an issue with my psychoJS code, as on the console it points to a different JS file when it gets the error. Here is a screenshot of the console error message:
This is what the index-size-error.js message says:
///Could not load content for https://run.pavlovia.org/elizonda/crmv2-fulltest/node_modules/standardized-audio-context/src/factories/index-size-error.ts (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)///
I’ve double checked that within the excel conditions files the pathways had the slashes in the right orientation, I also remade the experiment with an updated html file and still had no luck. The audio files are in wav format which I’ve read it could be a potential issue during playback, but I do have similar experiments that playback the audio files with no issue being in that format. I do have some custom code that does independent randomization on certain columns on the condition excel sheet, but I don’t think this is causing the issue as I have a version with only the trials routine that is working correctly.
Here are the links to the experiments:
Working experiment without consent/questionnaire forms:
https://gitlab.pavlovia.org/elizonda/crmrandofixv2
Experiment with “unknown resource” error when trials routine begins with consent/questionnaire forms:
https://gitlab.pavlovia.org/elizonda/crmv2-fulltest
Any help would be greatly appreciated!
Thank you