oss_audio_device.speed(samplerate) Try to set the audio sampling rate to samplerate samples per second. Returns the
aifc.setparams(nchannels, sampwidth, framerate, comptype, compname) Set all the above parameters at once. The argument is a
audioop.reverse(fragment, width) Reverse the samples in a fragment and returns the modified fragment.
audioop.tomono(fragment, width, lfactor, rfactor) Convert a stereo fragment to a mono fragment. The left channel is multiplied
wave.open(file, mode=None) If file is a string, open the file by that name, otherwise treat it as a file-like object
Wave_write.setnframes(n) Set the number of frames to n. This will be changed later if the number of frames actually
getname() Returns the name (ID) of the chunk. This is the first 4 bytes of the chunk.
oss_mixer_device.stereocontrols() Returns a bitmask indicating stereo mixer controls. If a bit is set, the corresponding control
audioop.byteswap(fragment, width) “Byteswap” all samples in a fragment and returns the modified fragment. Converts big-endian
oss_audio_device.reset() Immediately stop playing or recording and return the device to a state where it can accept commands
Page 7 of 14