oss_audio_device.read(size) Read size bytes from the audio input and return them as a Python string. Unlike most Unix
oss_audio_device.close() Explicitly close the audio device. When you are done writing to or reading from an audio device, you
sndhdr.whathdr(filename) Determines the type of sound data stored in a file based on the file header. The name of the file is
read(size=-1) Read at most size bytes from the chunk (less if the read hits the end of the chunk before obtaining size
oss_audio_device.channels(nchannels) Set the number of output channels to nchannels. A value of 1 indicates monophonic
colorsys.yiq_to_rgb(y, i, q) Convert the color from YIQ coordinates to RGB coordinates.
audioop.tostereo(fragment, width, lfactor, rfactor) Generate a stereo fragment from a mono fragment. Each pair of samples in
Wave_write.setcomptype(type, name) Set the compression type and description. At the moment, only compression type NONE
aifc.open(file, mode=None) Open an AIFF or AIFF-C file and return an object instance with methods that are described below.
audioop.alaw2lin(fragment, width) Convert sound fragments in a-LAW encoding to linearly encoded sound fragments. a-LAW encoding
Page 13 of 14