Description of the problem:
Hello, I am new to PsychoPy and JavaScript and I got stucked to a problem.
I created an experiment where participants have to listen to an arithmetic operation and to type write the result.
I created a loop with a screen for the instruction (“Press the space bar to listen to the operation”) and the routine with the sound, the code for typing the answer and some code to get the response time. The sounds/operations are presented sequentially. Before listening to a new operation, subjects read again the instruction and, when they are ready, they press the space bar to listen to the operation.
I uploaded the experiment in Pavlovia. It works, but the audio is not reproduced: you can only hear a beep.
Sound files are in mp3 format.
They are stored in the “resources” folder of the repository.
I am using Chrome. I tried to run the experiment in Firefox and there is the same problem.
I don’t know what to do now. Could you please help me? I am new to PsychoPy and PsychoJS. Any piece of advice would be extremly appreciated!
Thank you!
If it can be useful, I am sharing here the PsychoPy experiment
MentalCalc.psyexp (24.4 KB)