Standard MIDI File¶
Standard MIDI File (SMF)
- class mutagen.smf.SMF(filething)¶
Bases:
mutagen.FileType
Standard MIDI File (SMF)
- tags¶
None
- add_tags()¶
Adds new tags to the file.
- Raises
mutagen.MutagenError – if tags already exist or adding is not possible.
- 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