diff -r c440c5893d09 Doc/library/wave.rst --- a/Doc/library/wave.rst Sat Mar 01 12:09:55 2014 -0500 +++ b/Doc/library/wave.rst Sun Mar 02 09:55:49 2014 +0100 @@ -11,7 +11,8 @@ -------------- The :mod:`wave` module provides a convenient interface to the WAV sound format. -It does not support compression/decompression, but it does support mono/stereo. +Mono and stereo files in 8, 16, 24 and 32 bit integer sample format are +supported (linear PCM without any compression/decompression). The :mod:`wave` module defines the following function and exception: diff -r c440c5893d09 Lib/wave.py --- a/Lib/wave.py Sat Mar 01 12:09:55 2014 -0500 +++ b/Lib/wave.py Sun Mar 02 09:55:49 2014 +0100 @@ -9,6 +9,9 @@ When the setpos() and rewind() methods are not used, the seek() method is not necessary. +Mono and stereo files in 8, 16, 24 and 32 bit integer sample format +are supported (linear PCM without any compression/decompression). + This returns an instance of a class with the following public methods: getnchannels() -- returns number of audio channels (1 for mono, 2 for stereo) @@ -41,9 +44,12 @@ The open file pointer must have methods write(), tell(), seek(), and close(). +Mono and stereo files in 8, 16, 24 and 32 bit integer sample format +are supported (linear PCM without any compression/decompression). + This returns an instance of a class with the following public methods: setnchannels(n) -- set the number of channels - setsampwidth(n) -- set the sample width + setsampwidth(n) -- set the sample width to n bytes. setframerate(n) -- set the frame rate setnframes(n) -- set the number of frames setcomptype(type, name)