mltk.datasets.audio.background_noise.ambient

Generic Background Noise

This provides a list of generic background noise samples from https://mixkit.co/free-sound-effects/public-places

License

https://mixkit.co/license/#sfxFree

Variables

DOWNLOAD_URLS

The background noise sample download URLs

Functions

download(dest_dir[, sample_rate_hertz, ...])

Download the sample and return a list of file paths

DOWNLOAD_URLS = ['https://assets.mixkit.co/active_storage/sfx/360/360.wav', 'https://assets.mixkit.co/active_storage/sfx/364/364.wav', 'https://assets.mixkit.co/active_storage/sfx/444/444.wav', 'https://assets.mixkit.co/active_storage/sfx/1386/1386.wav', 'https://assets.mixkit.co/active_storage/sfx/447/447.wav', 'https://assets.mixkit.co/active_storage/sfx/453/453.wav']

The background noise sample download URLs

download(dest_dir, sample_rate_hertz=16000, urls=None, logger=None)[source]

Download the sample and return a list of file paths

Return type:

List[str]

Parameters:
  • dest_dir (str) –

  • sample_rate_hertz (int) –

  • urls (Optional[Union[str, List[str]]]) –

  • logger (Optional[Logger]) –