A Python script to segment a WAV file according to a timestamps list. The script scrapes the specified folder for wav files to operate on. The script works as follows -
- Specify the directory to scrape the wave files from.
- Specify the timestamps to segment with as a list - 't'
- Segmented files are stored into a subdirectory of the specified folder named 'auto_trimmed'
There are two inputs needed -
- dir = directory to scrape the wav files from
- t = timestamps to split the wav files with