I have an experiment in which participants listen to a recording (a .wav file) on each trial. My experiment worked perfectly last week (offline PsychoPy) and today it no longer works – it suddenly crashes after the first trial (though I’ve made no changes at all). The error message I get is this:
devnames = sorted(sound.getDevices(‘output’))
AttributeError: module ‘psychopy.sound’ has no attribute ‘getDevices’
2.5782 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use [‘pygame’, ‘sounddevice’, ‘PTB’, ‘pyo’] (in that order).
16.5237 WARNING Hamming was requested using the ‘pygame’ sound library but hamming is not supported there.
I don’t know what this means (I’m very new to PsychoPy) and what I need to check. If I go to File --> Preferences, nothing happens (i.e., there’s no pop-up window with preferences). I’m lost! Are there settings/updates I need to be aware of?
Many thanks in advance!