Alistair Buxton wrote:
> On windows, you must open binary files as binary: f = open("sound.wav", "rb")
>
> If you don't do this, windows will truncate the file and give no
> error, though it will work on linux.
>
Aha! Pay attention, Mike. This is your problem.
The attached script worksforme.
douglas
Attachment:
sound_to_string.py
Description: application/python