Musepack¶
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/.
-
class
mutagen.musepack.
Musepack
(filething)¶ Bases:
mutagen.apev2.APEv2File
Parameters: filething (filething) – -
info
¶ Type: MusepackInfo
-
static
score
(filename, fileobj, header)¶ Returns a score for how likely the file can be parsed by this type.
Parameters: Returns: - negative if definitely not a matching type, otherwise a score,
the bigger the more certain that the file can be loaded.
Return type:
-
-
class
mutagen.musepack.
MusepackInfo
¶ Bases:
mutagen.StreamInfo
Musepack stream information.
Optional Attributes:
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.
-
pprint
()¶ Returns: text: Print stream information
-