Next time you run into this, let's get some more information.
First, before you start the client you'll need to turn on debug commands in pirates_local.ini:
Then when your sounds go wonky, type
/showSounds. Expand your chat window to fill the screen vertically and send us a screenshot.
Also you may be able to fix the problem for a while with
/reloadSounds.