On 8-1-2010 22:37, Grant Edwards wrote:
On 2010-01-08, Irmen de Jong<irmen-nosp...@xs4all.nl> wrote:
Are you using the standard wave module? I guess that will
produce a string of 3-byte audio frames with readframes().
Won't it work to chop this up in individual 3-byte frames,
then appending a '\0' char to every frame, and then writing
the frames to the target wave ?
Not if the 3-byte values are signed two's compliment values.
Meh. The wave module is pretty useless for format conversion then until
it grows some utility methods.
-irmen
--
http://mail.python.org/mailman/listinfo/python-list