Musepack audio streams with APEv2 tags.
Musepack is an audio format originally based on the MPEG-1 Layer-2 algorithms. Stream versions 4 through 7 are supported.
For more information, see http://www.musepack.net/.
Bases: mutagen.apev2.APEv2File
Musepack(filething)
Parameters: | (filething) (filething) – |
---|
Bases: mutagen.StreamInfo
MusepackInfo()
Musepack stream information.
int
number of audio channels
float
file length in seconds, as a float
int
audio sampling rate in Hz
int
audio bitrate, in bits per second
Optional Attributes:
float
Replay Gain for this song
float
Peak data for this song
float
Replay Gain for this album
float
Peak data for this album
These attributes are only available in stream version 7/8. The gains are a float, +/- some dB. The peaks are a percentage [0..1] of the maximum amplitude. This means to get a number comparable to VorbisGain, you must multiply the peak by 2.