Spaces:
Runtime error
Runtime error
File size: 434 Bytes
8b0ab3c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
input_wav_path='/home/harveen/en/iitm_data/english/wav/'
output_wav_path='/home/harveen/en/iitm_data/english/wav_22k/'
output_sample_rate=22050
#######################
dir=$PWD
parentdir="$(dirname "$dir")"
parentdir="$(dirname "$parentdir")"
mkdir -p $output_wav_path
python $parentdir/utils/data/resample.py -i $input_wav_path -o $output_wav_path -s $output_sample_rate
python $parentdir/utils/data/duration.py $output_wav_path
|