mltk.datasets.audio.hey_gecko

Hey Gecko

This is a synthetically generated dataset with the keyword:

  • Hey Gecko

  • Unknown

The samples are 16kHz, 16-bit PCM .wav files.

Variables

DOWNLOAD_URL

Public download URL

VERIFY_SHA1

SHA1 hash of the downloaded archive file

CLASSES

The class labels of the dataset samples

Functions

download([dest_dir, dest_subdir, logger, ...])

Download and extract the dataset

generate_dataset([out_dir])

Generate the dataset

DOWNLOAD_URL = 'https://www.silabs.com/public/files/github/mltk/datasets/sl_synthetic_hey_gecko2.7z'

Public download URL

VERIFY_SHA1 = '69064ca13f7c4c1e20b7672162e204851c64aef6'

SHA1 hash of the downloaded archive file

CLASSES = ['heygecko', '_unknown_']

The class labels of the dataset samples

download(dest_dir=None, dest_subdir='datasets/hey_gecko', logger=None, clean_dest_dir=False)[source]

Download and extract the dataset

Return type:

str

Returns:

The directory path to the extracted dataset

Parameters:
  • dest_dir (str) –

  • logger (Logger) –

generate_dataset(out_dir=None)[source]

Generate the dataset

This generates the dataset using the AudioDatasetGenerator Python package provided by the MLTK.

Parameters:

out_dir (str) –