oss_audio_device.reset() Immediately stop playing or recording and return the device to a state where it can accept commands
exception audioop.error This exception is raised on all errors, such as unknown number of bytes per sample, etc.
skip() Skip to the end of the chunk. All further calls to read() for the chunk will return b''. If
oss_audio_device.name String containing the name of the device file.
exception ossaudiodev.OSSAudioError This exception is raised on certain errors. The argument is a string describing what went
getsize() Returns the size of the chunk.
wave.open(file, mode=None) If file is a string, open the file by that name, otherwise treat it as a file-like object
audioop.avg(fragment, width) Return the average over all samples in the fragment.
audioop.tomono(fragment, width, lfactor, rfactor) Convert a stereo fragment to a mono fragment. The left channel is multiplied
audioop.reverse(fragment, width) Reverse the samples in a fragment and returns the modified fragment.
Page 6 of 14