| Reference | Downloads | Github

Trouble playing simple tone at the end of countdown

URL of experiment:

Description of the problem:
I’ve made a little (fully functioning) dummy countdown-with-stop-sound experiment in Builder and exported it to Pavlovia. The countdown runs and doesn’t flag any errors, but it doesn’t play the 1 second 440 Hz tone at the end. Nothing suspicious in the console, as far as I can tell. As always, any help appreciated.


I’ve worked on this a bit more and think I’ve solved it now (@jon).
It seems like Pavlovia doesn’t know how to generate sounds (e.g. from ‘A’ or ‘440 Hz’) but as long as the tone/sound is in the resources folder and referred to in the js script, it works fine, à la:

stop_sound = new Sound({
    win: psychoJS.window,
    value: 'brrt.wav',
    secs: 1.0,


Ah, thanks. That’s strange though because the psychoJS code definitely indicates it should be playing sounds from either a name or a numer (freq) just fine:

I wonder if your experiment was just compiling to an older version of the lib that didn’t yet support this. Using PsychoPy3.2.x to generate the HTML/JS might help

Yes, I did use version 3.1.5. before but updating to 3.2.4. and recompiling doesn’t appear to help with the tone generation.

URL of the recompiled dummy experiment: