sampling_rates()

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

Media sampling rates.

Parameters:
  • name (str) – name of database

  • version (str) – version of database

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

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

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

Return type:

set[int]

Returns:

sampling rates

Raises:

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

Examples

>>> audb.info.sampling_rates("emodb", version="1.4.1")
{16000}