We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

The sunaudio module

This module identifies Sun AU audio files, and extracts basic information about the file contents. The sunau module provides more complete support for Sun AU files.

Example: Using the sunaudio module
# File: sunaudio-example-1.py

import sunaudio

file = "samples/sample.au"

print sunaudio.gethdr(open(file, "rb"))

(6761, 1, 8012, 1, 'sample.au')