[Pythonmac-SIG] Is wave.py maybe broken?
artelse at mohr-i.nl
Thu Apr 29 05:57:26 EDT 2004
Dinu Gherman wrote:
> Dinu Gherman:
>> I'm trying to use the wave module in the standard library, but seem
>> to get errors when accessing .wav files which are otherwise playing
>> fine on OS X (see traceback below).
> The following, using PyObjC, does also not produce any sound for
> the .wav files I've got, but it does for .aiff ones...
> Kind of strange...
I've been hit by this limitation as well with pygame:
pygame.error: Unknown WAVE data format: 0x4x
The wave format has different 'incarnations' and some aren't supported
by python. Quicktime on the other hand can play them just fine because
it knows how to handle that particular format.
I say 'incarnations' as I haven't done any research in the nitty gritty
of the wave formats.. yet.
More information about the Pythonmac-SIG