bit_depths()

audb.info.bit_depths(name, *, version=None, tables=None, media=None, cache_root=None)[source]

Media bit depth.

Parameters
  • name (str) – name of database

  • version (Optional[str]) – version of database

  • tables (Optional[Sequence]) – include only tables matching the regular expression or provided in the list

  • media (Optional[Sequence]) – include only media matching the regular expression or provided in the list

  • cache_root (Optional[str]) – cache folder where databases are stored. If not set audb.default_cache_root() is used

Return type

set[int]

Returns

bit depths

Raises

ValueError – if table or media is requested that is not part of the database

Examples

>>> bit_depths("emodb", version="1.4.1")
{16}