Chunk_wav component splits .wav
files into smaller chunks. This is a step in the preparation process for deep
learning models.
Here you can find the inputs to make_chunks.py
:
By default, desired length of wav files is 0.5 seconds. There is an overlap of 0.25 seconds between each of two following chunks.
This folder contains a python script to process the original .wav
files and a .sh
shell script to call the python script.
The python script can be run from command line.
python make_chunks.py
--input_dir
--chunk_length
--overlap
--output_dir
Here is a convenient shell script that runs the python script for the entire dataset.
$ ./split_dataset.sh