I’m using Standalone Psychopy 3.0 on Win10.
With the last beta releases of Psychopy3, I was able to play the same sound object several times with the code below. Now that I’ve downloaded the official release of Psychopy 3.0, setting audioLib preferences to pyo does not work. The audioLib stays sounddevice and sounddevice does not allow playing the same sound object more than once.
Thank you for your help!
from psychopy import prefs prefs.general['audioLib'] = ['pyo'] print(sound.audioLib) from psychopy import sound, core mysound = sound.Sound() mysound.play() core.wait(2) mysound.play() # no sound is played