AIFF

AIFF audio stream information and tags.

class mutagen.aiff.AIFF(filename)

Bases: mutagen.FileType

An AIFF audio file.

Variables:
add_tags()

Add an empty ID3 tag to the file.

load(filename, **kwargs)

Load stream and tag information from a file.

class mutagen.aiff.AIFFInfo

AIFF audio stream information.

Information is parsed from the COMM chunk of the AIFF file

Useful attributes:

  • length – audio length, in seconds
  • bitrate – audio bitrate, in bits per second
  • channels – The number of audio channels
  • sample_rate – audio sample rate, in Hz
  • sample_size – The audio sample size