APEv2 reading and writing.
The APEv2 format is most commonly used with Musepack files, but is also the format of choice for WavPack and other formats. Some MP3s also have APEv2 tags, but this can cause problems with many MP3 decoders and taggers.
APEv2 tags, like Vorbis comments, are freeform key=value pairs. APEv2 keys can be any ASCII string with characters from 0x20 to 0x7E, between 2 and 255 characters long. Keys are case-sensitive, but readers are recommended to be case insensitive, and it is forbidden to multiple keys which differ only in case. Keys are usually stored title-cased (e.g. ‘Artist’ rather than ‘artist’).
APEv2 values are slightly more structured than Vorbis comments; values are flagged as one of text, binary, or an external reference (usually a URI).
Based off the format specification found at http://wiki.hydrogenaudio.org/index.php?title=APEv2_specification.
Bases: mutagen.FileType
Bases: mutagen.apev2._CIDictProxy, mutagen.Metadata
A file with an APEv2 tag.
ID3v1 tags are silently ignored and overwritten.
Remove tags from a file.
Load tags from a filename.
Return tag key=value pairs in a human-readable format.
Save changes to a file.
If no filename is given, the one most recently loaded is used.
Tags are always written at the end of the file, and include a header and a footer.
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 stream information.
Attributes:
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.
WavPack reading and writing.
WavPack is a lossless format that uses APEv2 tags. Read http://www.wavpack.com/ for more information.
Bases: mutagen.apev2.APEv2File
WavPack stream information.
Attributes:
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/.
Bases: mutagen.apev2.APEv2File
Monkey’s Audio stream information.
Attributes:
OptimFROG audio streams with APEv2 tags.
OptimFROG is a lossless audio compression program. Its main goal is to reduce at maximum the size of audio files, while permitting bit identical restoration for all input. It is similar with the ZIP compression, but it is highly specialized to compress audio data.
Only versions 4.5 and higher are supported.
For more information, see http://www.losslessaudio.org/
Bases: mutagen.apev2.APEv2File
OptimFROG stream information.
Attributes: