Monkey’s Audio¶
Monkey’s Audio streams with APEv2 tags.
Monkey’s Audio is a very efficient lossless audio compressor developed by Matt Ashland.
For more information, see http://www.monkeysaudio.com/.
-
class
mutagen.monkeysaudio.
MonkeysAudio
(filething)¶ Bases:
mutagen.apev2.APEv2File
- Parameters
filething (filething) –
-
info
¶ - Type
-
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
int
-
class
mutagen.monkeysaudio.
MonkeysAudioInfo
¶ Bases:
mutagen.StreamInfo
Monkey’s Audio stream information.
-
channels
¶ number of audio channels
- Type
int
-
length
¶ file length in seconds, as a float
- Type
float
-
sample_rate
¶ audio sampling rate in Hz
- Type
int
-
bits_per_sample
¶ bits per sample
- Type
int
-
version
¶ Monkey’s Audio stream version, as a float (eg: 3.99)
- Type
float
-
pprint
()¶ Returns: text: Print stream information
-