Wave_read.rewind() Rewind the file pointer to the beginning of the audio stream.
Wave_read.readframes(n) Reads and returns at most n frames of audio, as a string of bytes.
Wave_read.getsampwidth() Returns sample width in bytes.
Wave_read.getparams() Returns a namedtuple() (nchannels, sampwidth, framerate, nframes, comptype, compname), equivalent to output of the get*() methods.
Wave_read.getnframes() Returns number of audio frames.
Wave_read.getnchannels() Returns number of audio channels (1 for mono, 2 for stereo).
Wave_read.getmarkers() Returns None.
Wave_read.getmark(id) Raise an error.
Wave_read.getframerate() Returns sampling frequency.
Wave_read.getcomptype() Returns compression type ('NONE' is the only supported type).
Page 61 of 663