Module SciPy.io.wavfile: "read(file)
Return the sample rate (in samples/sec) and data from a WAV file
The file can be an open file or a filename.
The returned sample rate is a Python integer
The data is returned as a numpy array with a
data-type determined from the file.
write(filename, rate, data)
Write a numpy array as a WAV file
filename -- The name of the file to write (will be over-written)
rate -- The sample rate (in samples/sec).
data -- A 1-d or 2-d numpy array of integer data-type.
The bits-per-sample will be determined by the data-type
To write multiple-channels, use a 2-d array of shape
(Nsamples, Nchannels)
Writes a simple uncompressed WAV file. "