Alistair Buxton wrote:Aha! Pay attention, Mike. This is your problem.
> 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.
>
The attached script worksforme.
douglas