Wave_read.getparams() Returns a
aifc.writeframes(data) Write data to the output file. This method can only be called after the audio file parameters have been
aifc.getnframes() Return the number of audio frames in the file.
audioop.lin2alaw(fragment, width) Convert samples in the audio fragment to a-LAW encoding and return this as a bytes object
Wave_read.close() Close the stream if it was opened by wave, and make the instance unusable. This is called automatically
Wave_write.setparams(tuple) The tuple should be (nchannels, sampwidth, framerate, nframes, comptype, compname)
aifc.getcompname() Return a bytes array convertible to a human-readable description of the type of compression used in the audio
Wave_read.setpos(pos) Set the file pointer to the specified position.
oss_audio_device.post() Tell the driver that there is likely to be a pause in the output, making it possible for the device
aifc.aiff() Create an AIFF file. The default is that an AIFF-C file is created, unless the name of the file ends in '
Page 2 of 14