Wave_write.tell() Return current position in the file, with the same disclaimer for the Wave_read.tell() and Wave_read.setpos() methods.
Wave_write.setsampwidth(n) Set the sample width to n bytes.
Wave_write.setparams(tuple) The tuple should be (nchannels, sampwidth, framerate, nframes, comptype, compname), with values valid for the set*() methods. Sets all parameters.
Wave_write.setnframes(n) Set the number of frames to n. This will be changed later if the number of frames actually written is different (this update attempt will raise an error if the output stream is not seekable).
Wave_write.setnchannels(n) Set the number of channels.
Wave_write.setframerate(n) Set the frame rate to n. Changed in version 3.2: A non-integral input to this method is rounded to the nearest integer.
Wave_write.setcomptype(type, name) Set the compression type and description. At the moment, only compression type NONE is supported, meaning no compression.
Wave_write.close() Make sure nframes is correct, and close the file if it was opened by wave. This method is called upon object collection. It will raise an exception if the output stream is not seekable and nframes does not match the number of frames actually written.
Wave_read.tell() Return current file pointer position.
Wave_read.setpos(pos) Set the file pointer to the specified position.
Page 60 of 663