Unfortunately, our sound API documentation still seems to be largely broken:
But in essence:
from psychopy import sound
hello = sound.Sound('hello.wav')
hello.play()
.wav seems to be the format that works best for most people.
Unfortunately, our sound API documentation still seems to be largely broken:
But in essence:
from psychopy import sound
hello = sound.Sound('hello.wav')
hello.play()
.wav seems to be the format that works best for most people.