[Tutor] Python won't play .wav file
Lee Harr
missive at hotmail.com
Wed May 25 22:32:08 CEST 2005
>>Strangely... I do not believe the wave module is meant to actually
>>_play_ a wav file. It looks to me like it is only intended to read and
>>parse the file for meta information.
>>
>>You could try passing the name of the file to another program
>>via os.system, or you could use pygame.
>
>Ok.... drat. I was hoping that it would play the files.
>
>
>
>>------------------------------
>>Lee Harr wrote:
>>
>>If you are on windows try the winsound module.
>
>And if I'm on Linux or programing for Mac?
>
I did not write this.
I did, however, write this:
"""
Strangely... I do not believe the wave module is meant to actually
_play_ a wav file. It looks to me like it is only intended to read and
parse the file for meta information.
You could try passing the name of the file to another program
via os.system, or you could use pygame.
"""
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
More information about the Tutor
mailing list