Play .wav files

Cousin Stanley CousinStanley at HotMail.com
Mon Jan 20 09:28:14 EST 2003


|| I have found the wave module to read/manipulate/write .wav files. I can look
|| up particular positions/sections of a wave file, but I was wondering how i
|| could play them.

Gumuz ...

The following will play  WAV  files
using Win98 and Python 2.2.1 ...


import winsound

winsound.PlaySound( 'path/whatEver.wav' , winsound.SND_FILENAME )


Cousin Stanley






More information about the Python-list mailing list