MediaType

class audformat.define.MediaType[source]

Media type of table.

Specifies string values representing media types of different tables or misc tables. Those string values have to be provided as type argument to audformat.Media. The exact string values are part of the media specifications, and should never be changed by a user.

__eq__()

MediaType.__eq__(value, /)

Return self==value.

AUDIO

MediaType.AUDIO = 'audio'

Audio media type.

OTHER

MediaType.OTHER = 'other'

Other media type.

VIDEO

MediaType.VIDEO = 'video'

Video media type.