wave.openfp(file, mode) A synonym for open(), maintained for backwards compatibility.
oss_audio_device.close() Explicitly close the audio device. When you are done writing to or reading from an audio device, you
Wave_read.getsampwidth() Returns sample width in bytes.
Wave_read.tell() Return current file pointer position.
oss_audio_device.obuffree() Returns the number of samples that could be queued into the hardware buffer to be played without
aifc.setnchannels(nchannels) Specify the number of channels in the audio file.
aifc.readframes(nframes) Read and return the next nframes frames from the audio file. The returned data is a string
aifc.open(file, mode=None) Open an AIFF or AIFF-C file and return an object instance with methods that are described below.
tell() Return the current position into the chunk.
Wave_read.getnchannels() Returns number of audio channels (1 for mono, 2 for stereo).
Page 11 of 14