[Tutor] Wave module
Alex Krycek
agent.krycek at gmail.com
Sun Jul 6 00:50:35 CEST 2008
Hello,
I'm trying to join two .wav files with the wave module. But when I try to
use wave.open(filename, "rb") I receive the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "F:\PortablePython1.0\lib\wave.py", line 483, in open
return Wave_read(f)
File "F:\PortablePython1.0\lib\wave.py", line 162, in __init__
self.initfp(f)
File "F:\PortablePython1.0\lib\wave.py", line 143, in initfp
self._read_fmt_chunk(chunk)
File "F:\PortablePython1.0\lib\wave.py", line 264, in _read_fmt_chunk
raise Error, 'unknown format: %r' % (wFormatTag,)
wave.Error: unknown format: 85
I read somewhere that there are various wave formats, only some supported by
Python. Is this true? If so, is there any way I can convert my wave files
into a supported kind?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080705/21bcc562/attachment.htm>
More information about the Tutor
mailing list