mltk.datasets.audio.background_noise.brd2601

BRD2601 Background Noise

This is an audio clip of “silence” recorded by the microphone on the BRD2601 development board. This may be mixed with dataset audio samples to help simulate what would be captured by the development’s microphone.

Variables

DOWNLOAD_URL

The public download URL

VERIFY_SHA1

The SHA1 hash of the downloaded archive

Functions

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

Download and return the path to the audio sample

DOWNLOAD_URL = 'https://github.com/SiliconLabs/mltk_assets/raw/master/datasets/brd2601_background_audio.7z'

The public download URL

VERIFY_SHA1 = '3069A85002965A7830C660343C215EDD4FAE39C6'

The SHA1 hash of the downloaded archive

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

Download and return the path to the audio sample

Return type:

str

Parameters:
  • dest_dir (str) –

  • sample_rate_hertz (int) –

  • logger (Logger) –