I am trying to change the preferences of audiolib from Pyo to Pygame in Psychopy but it does not seem to work.
from psychopy import prefs, sound
prefs.general['audioLib'] = ['pygame']
.
.
.
sound1 = sound.Sound('name.wav')
sound1.play()
It keeps showing:
pyo version 0.8.0 (uses single precision)
The sound is alright but I want to use Pygame instead. Can anyone tell me what I am doing wrong? Thanks!