Audio issues when running experiment online

jsPsych version (e.g. 7.3.1): 2025.1.1

Hi, i’m new to PsychoPy and trying to make my experiment run online. It’s a word learning paradigm with short audio stimuli (words). The first (sometimes the first few) items plays alright but then the audio stops, or sometimes I can only hear small noises. Does anyone know what could be the source of the problem? Will it help changing the audio files from wav to mp3?

Are you using PsychoPy or jsPsych?

If the former, try this tip.

Sorry, I’m using PsychoPy Builder. I tried to set the start time of the audio to 0.1 and that seems to solve it. Thanks alot!

Hmm, delaying the sound component by 0.1 second worked at first, but later on where participants respond to audio stimuli it still breaks down, so that the audio stops working after a while. especially if one responds quickly. it seems to me that the many short sound bites causes trouble. Copilot recommends that i change from wav to mp3, is that smart?

mp3 files do tend to load faster online.

If you have an ITI then you could add a static component and load the sounds during it, rather than in the first 100ms of the trial routine (if that works online in your version of PsychoPy). You could also increase the delay to 0.5 seconds and see if that helps.