Make wav-copy accept both xspecifiers and xfilenames
In scripts such as perturb-speed and perturb-volume scp lines are tranformed into piped command with the appropropriate sox command. The case that the scp file has file offsets was not handled. This commit both generalizes the wav-copy command to work also on xfilenames and fixes the two perturb scripts to use this command in case of file offsets.
Showing
- egs/wsj/s5/utils/data/perturb_data_dir_volume.sh 4 additions, 0 deletionsegs/wsj/s5/utils/data/perturb_data_dir_volume.sh
- egs/wsj/s5/utils/perturb_data_dir_speed.sh 5 additions, 1 deletionegs/wsj/s5/utils/perturb_data_dir_speed.sh
- src/featbin/wav-copy.cc 40 additions, 14 deletionssrc/featbin/wav-copy.cc
Please register or sign in to comment