DSF

Read and write DSF audio stream information and tags.

class mutagen.dsf.DSF(filething)

Bases: mutagen.FileType

An DSF audio file.

Parameters:filething (filething) –
info

DSFInfo

tags

mutagen.id3.ID3Tags or None

add_tags()

Add a DSF tag block to the file.

class mutagen.dsf.DSFInfo

DSF audio stream information.

Information is parsed from the fmt chunk of the DSF file.

length

float – audio length, in seconds.

channels

int – The number of audio channels.

sample_rate

int – Sampling frequency, in Hz. (2822400, 5644800, 11289600, or 22579200)

bits_per_sample

int – The audio sample size.

bitrate

int – The audio bitrate.