I'm working with Sikuli, which (I think) is build on Jython. I want to make a script that does a small gentle beep to attract the user's attention. (This is on Windows.)
How can I do this? I see that the winsound module is not available on Jython.
(Note that I want to use the sound card, not the built-in beeper.)
Since you are using Sikuli you can to the following.
Add any mediafile such as any .mp3 on the desktop of a windows machine, asociate the file to a media player.  Capture the image and include:
click(pattern(desktopnoiseicon.png)
alternatley you could execute the same task with openApp(C:\noise.mp3)
Sikuli gives the ability to find numerous workarounds
in SikuluXrc2 you could even point to a URL from your code without the need of setting a bundle path
Jython: Making a simple beep on Windows