Re: Make a .WAV file come out of the left speaker in Windows
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: Make a .WAV file come out of the left speaker in Windows

From: Alan Green <alan.green@gmail.com>
Date: Tue Jul 19 2005 - 01:03:31 CEST

Alan Green wrote:
> I am writing a Python script that uses the win32all winsound package to
> play a .wav file. I [need] the sound come out of the left hand speaker, but
> not the right hand speaker.

I eventually got out ctypes and used it to access the Windows
multi-media libraries. ctypes is completely amazing, especially with
the code generator to turn the windows C header files into Python
functions and constants.

Just yesterday I discovered PyMedia, and will have to have a play with
that, too.

a
Received on Thu Sep 29 17:00:28 2005