Description of the problem:
I want to administer three sound file per trial to a user (a question, an inter stimuli silence and an answer), followed by a rating period. Sound files are accessed via paths in the conditions file.
While the experiment works offline (disabling the code component in the instructions routine (which fixes the asarray javascript issue)) well, online only the default tone (a C) is played instead of the wanted soundfile.
I have tried the following:
Specify a non random order (sequential)
Use a csv instead of a excel sheet
Use MP3 instead of WAV
created a new excel sheet (as suggested in this post a previous post)
I am not quite sure what else I can try. Further, I am unsure whether audio tracks are even implemented in PsychoJS already?
Thank you for having a look!
Please find below some screenshots of how the experiment is set up and my conditions file.
You can find the whole experiment on GitLab in the OP.
I’m running into a similar problem. In my experiment, I have various musical clips in each routine/trial. It was running smoothly both in Builder and also online in pilot mode and when I first put it to run on Wednesday night. I posted a couple of updates on Thursday morning and it still ran smoothly after that, but now it’s started to play the default C = 440 tone whenever an excerpt is supposed to play, both in the practice, where audio clips are fixed, and in the trials, where they are variable according to a conditions file. I’m really not sure what changed!
This is a screenshot of the practice routine, where fixed excerpts are supposed to play:
This is the one of the sound components in the practice: