7. INFO Metadata

7.1. Notes

INFO Metadata is a standard method for saving tagged text data in a WAV or AVI file. INFO fields are often read by the file explorer and host OS, and used in music library software.

bullet_path = '../tests/test_files/BULLET Impact Plastic LCD TV Screen Shatter Debris 2x.wav'

bullet = WavInfoReader(bullet_path)

print("INFO Artist:",    bullet.info.artist)
print("INFO Copyright:", bullet.info.copyright)
print("INFO Comment:",   bullet.info.comment)

7.1.1. String Encoding of INFO Metadata

Info metadata fields will be decoded using the string encoding passed to WavInfoReader's info_encoding= parameter, which by default is latin_1 (ISO 8859-1).

Note

cset character set/locale metadata is not supported. If it is present in the file it will be ignored by wavinfo.

7.2. Class Reference

class wavinfo.wave_info_reader.WavInfoChunkReader(f, encoding)
archival_location: str | None

‘IARL’ Archival Location

artist: str | None

‘IART’ Artist, composer, author

comment: str | None

‘ICMT’ Comment

commissioned: str | None

‘ICSM’ Commissioned

copyright: str | None

‘ICOP’ Copyright

created_date: str | None

‘ICRD’ Created date

engineer: str | None

‘IENG’ Engineer

genre: str | None

‘IGNR’ Genre

keywords: str | None

‘IKEY’ Keywords, keyword list

product: str | None

‘IPRD’ Product

software: str | None

‘ISFT’ Software, encoding application

source: str | None

‘ISRC’ Source

subject: str | None

‘ISBJ’ Subject

tape: str | None

‘TAPE’ Tape

technician: str | None

‘ITCH’ Technician

title: str | None

‘INAM’ Name, title

to_dict() dict

A dictionary with all of the key/values read from the INFO scope.