audioop.lin2ulaw(fragment, width) Convert samples in the audio fragment to u-LAW encoding and return this as a bytes object
colorsys.rgb_to_yiq(r, g, b) Convert the color from RGB coordinates to YIQ coordinates.
audioop.cross(fragment, width) Return the number of zero crossings in the fragment passed as an argument.
sndhdr.what(filename) Determines the type of sound data stored in the file filename using whathdr(). If
aifc.getnchannels() Return the number of audio channels (1 for mono, 2 for stereo).
Wave_read.rewind() Rewind the file pointer to the beginning of the audio stream.
Wave_write.setnchannels(n) Set the number of channels.
audioop.add(fragment1, fragment2, width) Return a fragment which is the addition of the two samples passed as parameters. width
oss_audio_device.getfmts() Return a bitmask of the audio output formats supported by the soundcard. Some of the formats supported
exception ossaudiodev.OSSAudioError This exception is raised on certain errors. The argument is a string describing what went
Page 5 of 14