Changing sound volume
kyosohma at gmail.com
kyosohma at gmail.com
Sun Jun 24 19:17:36 EDT 2007
On Jun 23, 7:47 am, simon kagwe <simonka... at yahoo.com> wrote:
> Hi,
>
> I am playing sounds using the winsound module. Is there a way I can change the
> volume?
The docs don't mention anything about controlling the volume, so I
doubt it's possible with winsound. However, I found this in the
archives:
http://mail.python.org/pipermail/edu-sig/2001-December/001899.html
It's some kind of wrapper for Snack that allows you to mess with the
volume. This site talks about Snack, winsound and another module:
http://www.zak.co.il/gpl/misc/eng/pythonsound.html
And finally a way that might work using ctypes:
http://mail.python.org/pipermail/python-win32/2006-March/004436.html
Mike
More information about the Python-list
mailing list