How to fix error TypeError: __init__() got an unexpected keyword argument 'syncToWin'?

Hi !
Do you know why I have this error ? I am trying to play a sound on psychopy.

Thank you so much for your help

Just delete the ‘syncToWin’ argument altogether. The error message is saying that it’s not a valid argument for the Sound object, possibly because it doesn’t exist in whichever sound backend you’re using.