I have actually tried to do this like 4 times now, and it doesn't seem to work. Rather, I never figured out how to access the underlying sound system using Python-Qt4. It should definitely be added, but I have struggled far more than I should have with it and it got dropped lower on the priority list.
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)