Hi Alan, where did you get stuck?
I added this type of functionality (in PyQt4) to my personal copy of Electrum a while ago.
So perhaps I could help.
I got stuck when nothing I tried worked. I tried like 3 examples from various websites and documentation, and I never got sound out it.
If you want to take a shot, please do. Linux is easiest though, since the dev environment takes 4 commands to get setup. Windows... is pretty terrible to get setup, even just for messing with the python libraries (not compiling any C++ code)
Strange, I didn't have any difficulties at all to do this under Windows. I don't have much time right now, but here is a bare-bones working example of how to play a sound in PyQt4 that actually works (for me, at least):
QSound.play("C:/WINDOWS/Media/notify.wav")
time.sleep(3)
Can you give it a try?