Wave_write.setsampwidth(n) Set the sample width to n bytes.
aifc.setnchannels(nchannels) Specify the number of channels in the audio file.
Wave_read.tell() Return current file pointer position.
Wave_write.writeframesraw(data) Write audio frames, without correcting nframes.
sndhdr.whathdr(filename) Determines the type of sound data stored in a file based on the file header. The name of the file is
audioop.tostereo(fragment, width, lfactor, rfactor) Generate a stereo fragment from a mono fragment. Each pair of samples in
oss_audio_device.obuffree() Returns the number of samples that could be queued into the hardware buffer to be played without
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.
audioop.alaw2lin(fragment, width) Convert sound fragments in a-LAW encoding to linearly encoded sound fragments. a-LAW encoding
Page 12 of 14