This document is for an old version of Python that is no longer supported. You should upgrade and read the Python 当前稳定版本的文档.

# 21. Multimedia Services

The modules described in this chapter implement various algorithms or interfaces that are mainly useful for multimedia applications. They are available at the discretion of the installation. Here’s an overview:

- 21.1. `audioop` — Manipulate raw audio data
- 21.2. `imageop` — Manipulate raw image data
- 21.3. `aifc` — Read and write AIFF and AIFC files
- 21.4. `sunau` — Read and write Sun AU files
  - 21.4.1. AU_read Objects
  - 21.4.2. AU_write Objects
- 21.5. `wave` — Read and write WAV files
  - 21.5.1. Wave_read Objects
  - 21.5.2. Wave_write Objects
- 21.6. `chunk` — Read IFF chunked data
- 21.7. `colorsys` — Conversions between color systems
- 21.8. `imghdr` — Determine the type of an image
- 21.9. `sndhdr` — Determine type of sound file
- 21.10. `ossaudiodev` — Access to OSS-compatible audio devices
  - 21.10.1. Audio Device Objects
  - 21.10.2. Mixer Device Objects