psychopy.org | Reference | Downloads | Github

SoundFormatError

Hello all,

I created an experiment, with audios and pictures. I cut thoses with audacity and saved them as wav. Now I get this error.

I know that wav can be 16 bits or 32bits. Is this maybe the problem?

Thank you for your help.

psychopy:
Psychopyfirsttrial.psyexp (17.3 KB)

KG
Caro

No, the error is that some of your sound files have a sampling rate of 48 kHz but your system will only allow all sounds to be played at the same frequency, of 44.1 kHZ (the standard for CD music). This is something that you can easily fix in Audacity (i.e. downsample those files from 48 kHz to 44.1 kHz). You won’t notice any difference in sound quality.