Multimedia

audioop — Manipulate raw audio data

The audioop module contains some useful operations on sound fragments. It operates on sound fragments consisting of signed integer samples 8, 16, 24 or 32 bits wide, stored in bytes-like objects. All scalar items are integers, unless specified otherwise.

aifc — Read and write AIFF and AIFC files

Source code: Lib/aifc.py

wave — Read and write WAV files

Source code: Lib/wave.py

ossaudiodev — Access to OSS-compatible audio devices

This module allows you to access the OSS (Open Sound System) audio interface. OSS is available for a wide range of open-source and commercial Unices, and is the standard audio interface for Linux and recent versions of FreeBSD.

sndhdr — Determine type of sound file

Source code: Lib/sndhdr.py

imghdr — Determine the type of an image

Source code: Lib/imghdr.py

colorsys — Conversions between color systems

Source code: Lib/colorsys.py

chunk — Read IFF chunked data

Source code: Lib/chunk.py