ertk.dataset.resample_rename_clips

ertk.dataset.resample_rename_clips(mapping: Mapping[Path, Path], sr: int = 16000, *, n_jobs: int = -1)

Resample given audio clips to 16 kHz 16-bit WAV.

Parameters:
mapping: mapping

Mapping from source files to destination files.

sr: int

Sample rate.